[PATCH 3/8] bcmstb: Migrate CONFIG_CMD_EXT[24]
Tom Rini
trini at konsulko.com
Tue May 26 21:06:14 CEST 2020
The common config header for bcm7260 and bcm7445 enable
CONFIG_CMD_EXT2/EXT4 but the defconfigs do not. This results in the
commands being disabled. Enable them via the defconfig.
Cc: Thomas Fitzsimmons <fitzsim at fitzsim.org>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
configs/bcm7260_defconfig | 2 ++
configs/bcm7445_defconfig | 2 ++
include/configs/bcmstb.h | 3 ---
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configs/bcm7260_defconfig b/configs/bcm7260_defconfig
index d467e62deef1..4ddca7cc7f40 100644
--- a/configs/bcm7260_defconfig
+++ b/configs/bcm7260_defconfig
@@ -14,6 +14,8 @@ CONFIG_PREBOOT="fdt addr ${fdtcontroladdr};fdt move ${fdtcontroladdr} ${fdtsavea
CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="U-Boot>"
CONFIG_CMD_MMC=y
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_EXT4=y
CONFIG_EFI_PARTITION=y
CONFIG_OF_PRIOR_STAGE=y
CONFIG_ENV_IS_IN_MMC=y
diff --git a/configs/bcm7445_defconfig b/configs/bcm7445_defconfig
index 2c71a5efedd1..85dcdded9d4c 100644
--- a/configs/bcm7445_defconfig
+++ b/configs/bcm7445_defconfig
@@ -17,6 +17,8 @@ CONFIG_SYS_PROMPT="U-Boot>"
CONFIG_CMD_MMC=y
CONFIG_CMD_SF_TEST=y
CONFIG_CMD_SPI=y
+CONFIG_CMD_EXT2=y
+CONFIG_CMD_EXT4=y
CONFIG_OF_PRIOR_STAGE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
diff --git a/include/configs/bcmstb.h b/include/configs/bcmstb.h
index 5f6bf62524a9..b906c750edc8 100644
--- a/include/configs/bcmstb.h
+++ b/include/configs/bcmstb.h
@@ -129,7 +129,6 @@ extern phys_addr_t prior_stage_fdt_address;
*/
#define CONFIG_CMD_ASKENV
#define CONFIG_CMD_CACHE
-#define CONFIG_CMD_EXT2
/*
* Flash configuration.
@@ -142,8 +141,6 @@ extern phys_addr_t prior_stage_fdt_address;
* Filesystem configuration.
*/
#define CONFIG_DOS_PARTITION
-#define CONFIG_CMD_EXT4
-#define CONFIG_FS_EXT4
#define CONFIG_CMD_FS_GENERIC
/*
--
2.17.1
More information about the U-Boot
mailing list