SHA256
1
0
forked from pool/u-boot
u-boot/0007-boo-1123170-Remove-ubifs-support-fr.patch
Andreas Färber e2bbdb9b35 Accepting request 717646 from hardware👢staging
*WARNING*

Remove linked packages (u-boot-*) in hardware:boot *before* accepting 
this request!

All issues from SR#714191 should have been considered here.

- Fail on errors building RK3288 SD card images (tinker-rk3288 previously) 
- Add libretech-cc and libretech-ac

OBS-URL: https://build.opensuse.org/request/show/717646
OBS-URL: https://build.opensuse.org/package/show/hardware:boot/u-boot?expand=0&rev=48
2019-10-08 18:46:35 +00:00

44 lines
1.5 KiB
Diff

From c7511f0e6cf4c919884b92103a4ca4a11ac1d0dc Mon Sep 17 00:00:00 2001
From: Guillaume GARDET <guillaume.gardet@free.fr>
Date: Tue, 29 Jan 2019 11:38:12 +0100
Subject: [PATCH] boo#1123170: Remove ubifs support from omap3_beagle to keep a
small u-boot.img
---
configs/omap3_beagle_defconfig | 2 +-
include/configs/omap3_beagle.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
index b389d1d3c5..ec45a4c77f 100644
--- a/configs/omap3_beagle_defconfig
+++ b/configs/omap3_beagle_defconfig
@@ -37,7 +37,6 @@ CONFIG_CMD_FS_UUID=y
CONFIG_CMD_MTDPARTS=y
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(spl),1920k(u-boot),128k(u-boot-env),128k(dtb),6m(kernel),-(rootfs)"
-CONFIG_CMD_UBI=y
# CONFIG_ISO_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_SPL_PARTITION_UUIDS=y
@@ -71,6 +70,7 @@ CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
CONFIG_SPL_NAND_SIMPLE=y
+CONFIG_MTD_UBI=y
CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_OMAP3_SPI=y
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index f0c8c990fa..3020c12e81 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -89,7 +89,6 @@
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 0) \
func(LEGACY_MMC, legacy_mmc, 0) \
- func(UBIFS, ubifs, 0) \
func(NAND, nand, 0)
#else /* !CONFIG_NAND */