summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-18 19:42:09 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:28:38 +0800
commite6e2c15d487c0dce423c145233d1feab7798bc50 (patch)
treeeaa8bf2f73fa2461d22edaa871a5c3463a87853c /configs
parent1226dfdaddaf3a0c3e3451e69fad9f480df89d9b (diff)
downloadtalos-obmc-uboot-e6e2c15d487c0dce423c145233d1feab7798bc50.tar.gz
talos-obmc-uboot-e6e2c15d487c0dce423c145233d1feab7798bc50.zip
nios2: enable device tree control of U-Boot
This patch adds device tree control of U-Boot to nios2 boards. The example dts is taken from Linux kernel. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/nios2-generic_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig
index f8d282168f..09cc51e1cb 100644
--- a/configs/nios2-generic_defconfig
+++ b/configs/nios2-generic_defconfig
@@ -1,5 +1,6 @@
CONFIG_NIOS2=y
CONFIG_TARGET_NIOS2_GENERIC=y
+CONFIG_DEFAULT_DEVICE_TREE="3c120_devboard"
CONFIG_HUSH_PARSER=y
# CONFIG_CMD_BOOTD is not set
# CONFIG_CMD_IMLS is not set
@@ -10,4 +11,5 @@ CONFIG_HUSH_PARSER=y
CONFIG_CMD_DHCP=y
# CONFIG_CMD_NFS is not set
CONFIG_CMD_PING=y
+CONFIG_OF_CONTROL=y
CONFIG_NET_RANDOM_ETHADDR=y
OpenPOWER on IntegriCloud