summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2019-02-27 15:20:32 +0100
committerTom Rini <trini@konsulko.com>2019-03-25 17:35:52 -0400
commita1b713215749b96987a5a5a6f90cfa5808f471b6 (patch)
tree653e812e9fdb0d00862ef845d2973f1f1c11d8af
parente7134b9714ed851095e8bcf8b66e65c6f870634e (diff)
downloadu-boot-a1b713215749b96987a5a5a6f90cfa5808f471b6.tar.gz
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>
-rw-r--r--configs/bcm7445_defconfig3
-rw-r--r--include/configs/bcm7445.h4
2 files changed, 3 insertions, 4 deletions
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 */