2021-02-17 08:37:34 +01:00
|
|
|
From 6c0413e2528f4fc699c01f47e60fcf2d16b5fc75 Mon Sep 17 00:00:00 2001
|
2020-10-19 11:00:01 +02:00
|
|
|
From: Guillaume Gardet <guillaume.gardet@arm.com>
|
|
|
|
Date: Fri, 18 Sep 2020 15:28:41 +0200
|
2019-01-31 09:22:00 +01:00
|
|
|
Subject: [PATCH] boo#1123170: Remove ubifs support from omap3_beagle to keep a
|
|
|
|
small u-boot.img
|
|
|
|
|
|
|
|
---
|
2020-10-19 11:00:01 +02:00
|
|
|
configs/omap3_beagle_defconfig | 3 ++-
|
2019-01-31 09:22:00 +01:00
|
|
|
include/configs/omap3_beagle.h | 1 -
|
2020-10-19 11:00:01 +02:00
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
2019-01-31 09:22:00 +01:00
|
|
|
|
|
|
|
diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
|
2021-02-17 08:37:34 +01:00
|
|
|
index 514bc01b1f..f232df0e41 100644
|
2019-01-31 09:22:00 +01:00
|
|
|
--- a/configs/omap3_beagle_defconfig
|
|
|
|
+++ b/configs/omap3_beagle_defconfig
|
2021-02-17 08:37:34 +01:00
|
|
|
@@ -41,7 +41,6 @@ CONFIG_CMD_FS_UUID=y
|
2019-01-31 09:22:00 +01:00
|
|
|
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
|
2019-04-10 10:06:43 +02:00
|
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
|
|
CONFIG_SPL_PARTITION_UUIDS=y
|
2021-02-17 08:37:34 +01:00
|
|
|
@@ -77,6 +76,8 @@ CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
2019-01-31 09:22:00 +01:00
|
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
2020-10-19 11:00:01 +02:00
|
|
|
CONFIG_DM_ETH=y
|
|
|
|
+CONFIG_SPL_NAND_SIMPLE=y
|
2019-01-31 09:22:00 +01:00
|
|
|
+CONFIG_MTD_UBI=y
|
|
|
|
CONFIG_SPI=y
|
2019-04-10 10:06:43 +02:00
|
|
|
CONFIG_DM_SPI=y
|
2019-01-31 09:22:00 +01:00
|
|
|
CONFIG_OMAP3_SPI=y
|
|
|
|
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
2020-10-19 11:00:01 +02:00
|
|
|
index 6563335f91..bc19317387 100644
|
2019-01-31 09:22:00 +01:00
|
|
|
--- a/include/configs/omap3_beagle.h
|
|
|
|
+++ b/include/configs/omap3_beagle.h
|
2020-10-19 11:00:01 +02:00
|
|
|
@@ -81,7 +81,6 @@
|
2019-01-31 09:22:00 +01:00
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
|
|
func(MMC, mmc, 0) \
|
|
|
|
func(LEGACY_MMC, legacy_mmc, 0) \
|
|
|
|
- func(UBIFS, ubifs, 0) \
|
|
|
|
func(NAND, nand, 0)
|
|
|
|
|
2020-01-28 10:38:57 +01:00
|
|
|
#else /* !CONFIG_MTD_RAW_NAND */
|