[U-Boot] [PATCH 1/7] bcm7445: move some configuration in defconfig file

Patrick Delaunay patrick.delaunay at st.com
Wed Feb 27 14:20:32 UTC 2019


Move some configurations in defconfig file
- CONFIG_DM_SPI (removed by syncing defconfigs )
- CONFIG_CMD_SF
- CONFIG_CMD_SPI
- CONFIG_CMD_SF_TEST

This allow correct dependency handling in Kconfig.

Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---

 configs/bcm7445_defconfig | 3 +++
 include/configs/bcm7445.h | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/configs/bcm7445_defconfig b/configs/bcm7445_defconfig
index a09ac5c..97098bf 100644
--- a/configs/bcm7445_defconfig
+++ b/configs/bcm7445_defconfig
@@ -8,6 +8,9 @@ CONFIG_FIT_SIGNATURE=y
 CONFIG_BOOTDELAY=1
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="U-Boot>"
+CONFIG_CMD_SF=y
+CONFIG_CMD_SF_TEST=y
+CONFIG_CMD_SPI=y
 CONFIG_OF_PRIOR_STAGE=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_MMC_SDHCI=y
diff --git a/include/configs/bcm7445.h b/include/configs/bcm7445.h
index 8c675f7..6984edd 100644
--- a/include/configs/bcm7445.h
+++ b/include/configs/bcm7445.h
@@ -34,10 +34,6 @@
 #define CONFIG_ENV_OFFSET	0x1e0000
 #define CONFIG_ENV_SECT_SIZE	CONFIG_ENV_SIZE
 
-#define CONFIG_DM_SPI			1
 #define CONFIG_SYS_MAX_FLASH_BANKS	1
-#define CONFIG_CMD_SF
-#define CONFIG_CMD_SPI
-#define CONFIG_CMD_SF_TEST
 
 #endif	/* __CONFIG_H */
-- 
2.7.4



More information about the U-Boot mailing list