From: Patrick Delaunay <patrick.delaunay@st.com>
Date: Wed, 27 Feb 2019 14:20:32 +0000 (+0100)
Subject: bcm7445: move some configuration in defconfig file
X-Git-Tag: v2025.01-rc5-pxa1908~3070^2~6
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=a1b713215749b96987a5a5a6f90cfa5808f471b6;p=u-boot.git

bcm7445: move some configuration in defconfig file

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@st.com>
---

diff --git a/configs/bcm7445_defconfig b/configs/bcm7445_defconfig
index a09ac5cc2b..97098bf7e2 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 8c675f7733..6984edde18 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 */