Commit e608bebd7759e287f78269c6392f134283a4cbe6

Authored by Patrick Delaunay
Committed by Tom Rini
1 parent a1b7132157

controlcenterdc: move some configuration in defconfig file

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>

Showing 2 changed files with 2 additions and 6 deletions Side-by-side Diff

configs/controlcenterdc_defconfig
... ... @@ -26,9 +26,11 @@
26 26 # CONFIG_CMD_GO is not set
27 27 # CONFIG_CMD_FLASH is not set
28 28 CONFIG_CMD_GPIO=y
  29 +CONFIG_CMD_I2C=y
29 30 CONFIG_CMD_MMC=y
30 31 CONFIG_CMD_PCI=y
31 32 CONFIG_CMD_SF=y
  33 +CONFIG_CMD_SPI=y
32 34 CONFIG_CMD_USB=y
33 35 # CONFIG_CMD_SETEXPR is not set
34 36 CONFIG_CMD_DHCP=y
include/configs/controlcenterdc.h
... ... @@ -25,12 +25,6 @@
25 25  
26 26 #define CONFIG_LOADADDR 1000000
27 27  
28   -/*
29   - * Commands configuration
30   - */
31   -#define CONFIG_CMD_I2C
32   -#define CONFIG_CMD_SPI
33   -
34 28 /* SPI NOR flash default params, used by sf commands */
35 29 #define CONFIG_SF_DEFAULT_BUS 1
36 30 #define CONFIG_SF_DEFAULT_SPEED 1000000