[U-Boot] [PATCH v4 02/26] sandbox: Use defconfig to enable features
Joe Hershberger
joe.hershberger at ni.com
Thu May 7 11:48:53 CEST 2015
Stop using the sandbox arch Kconfig to override defaults for config
options. This is a bit of abuse and may be causing build problems.
Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
---
Changes in v4:
-New for version 4
Changes in v3: None
Changes in v2: None
arch/sandbox/Kconfig | 15 ---------------
configs/sandbox_defconfig | 4 ++++
2 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 8aac96f..f078c9e 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -10,9 +10,6 @@ config SYS_BOARD
config SYS_CONFIG_NAME
default "sandbox"
-config DM_TEST
- default y
-
config PCI
bool "PCI support"
help
@@ -20,16 +17,4 @@ config PCI
used on some devices to allow the CPU to communicate with its
peripherals.
-config NET
- default y
-
-config NETDEVICES
- default y
-
-config DM_ETH
- default y
-
-config ETH_SANDBOX_RAW
- default y
-
endmenu
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index a0dba18..85ff725 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -10,12 +10,15 @@ CONFIG_FIT_SIGNATURE=y
CONFIG_CMD_SOUND=y
CONFIG_OF_CONTROL=y
CONFIG_OF_HOSTFILE=y
+CONFIG_NET=y
CONFIG_DM_PCI=y
CONFIG_PCI_SANDBOX=y
CONFIG_SPI_FLASH_SANDBOX=y
CONFIG_CMD_CROS_EC=y
CONFIG_CROS_EC=y
CONFIG_CROS_EC_SANDBOX=y
+CONFIG_DM_ETH=y
+CONFIG_NETDEVICES=y
CONFIG_CROS_EC_KEYB=y
CONFIG_TPM_TIS_SANDBOX=y
CONFIG_SYS_I2C_SANDBOX=y
@@ -26,3 +29,4 @@ CONFIG_SOUND_SANDBOX=y
CONFIG_USB=y
CONFIG_USB_EMUL=y
CONFIG_USB_STORAGE=y
+CONFIG_DM_TEST=y
--
1.7.11.5
More information about the U-Boot
mailing list