diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-18 19:42:09 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-10-23 07:28:38 +0800 |
commit | e6e2c15d487c0dce423c145233d1feab7798bc50 (patch) | |
tree | eaa8bf2f73fa2461d22edaa871a5c3463a87853c /configs | |
parent | 1226dfdaddaf3a0c3e3451e69fad9f480df89d9b (diff) | |
download | u-boot-e6e2c15d487c0dce423c145233d1feab7798bc50.tar.gz |
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_defconfig | 2 |
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 |