]> git.sur5r.net Git - u-boot/commitdiff
sandbox: Use defconfig to enable features
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:15 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:13:18 +0000 (09:13 -0400)
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@ni.com>
arch/sandbox/Kconfig
configs/sandbox_defconfig

index 8aac96f8d92a57f93300d156345c3a29bea11a52..f078c9e504de107b19e4fb817d3600550ce8053b 100644 (file)
@@ -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
index b333b6175af1f05a5c1fc1323fa842745a96ab57..8e0c4cd5fe4215c4bc1ef4e6a87d296ea12a3692 100644 (file)
@@ -1,4 +1,7 @@
 CONFIG_DM_USB=y
+CONFIG_NET=y
+CONFIG_NETDEVICES=y
+CONFIG_DM_ETH=y
 CONFIG_PCI=y
 CONFIG_SYS_VSNPRINTF=y
 CONFIG_DEFAULT_DEVICE_TREE="sandbox"
@@ -35,3 +38,4 @@ CONFIG_USB_STORAGE=y
 CONFIG_DM_RTC=y
 CONFIG_ERRNO_STR=y
 CONFIG_CMD_UT_TIME=y
+CONFIG_DM_TEST=y