]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
controlcenterdc: move some configuration in defconfig file
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 27 Feb 2019 14:20:33 +0000 (15:20 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 25 Mar 2019 21:35:52 +0000 (17:35 -0400)
Move some configurations in defconfig file
- CONFIG_CMD_I2C
- CONFIG_CMD_SPI

This allow correct dependency handling in Kconfig.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
configs/controlcenterdc_defconfig
include/configs/controlcenterdc.h

index f22a3ab819c70ac742469db1961a2fdc11e8b8be..b4b5732f694c8364b665489de7d20e8cfb13e0b2 100644 (file)
@@ -26,9 +26,11 @@ CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_GO is not set
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
 CONFIG_CMD_SF=y
+CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
index 06c93c3e664cbf78de5cbf1e0fef3096da424c59..24338156da6bca43e4771d8d01ecb270941b9d31 100644 (file)
 
 #define CONFIG_LOADADDR                1000000
 
-/*
- * Commands configuration
- */
-#define CONFIG_CMD_I2C
-#define CONFIG_CMD_SPI
-
 /* SPI NOR flash default params, used by sf commands */
 #define CONFIG_SF_DEFAULT_BUS          1
 #define CONFIG_SF_DEFAULT_SPEED                1000000