[U-Boot] [PATCH] nios2: enable Driver Model

Thomas Chou thomas at wytron.com.tw
Mon Sep 7 04:49:20 CEST 2015


Enable the Driver Model config. The driver subsystems
are not enabled until we enable each of them.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
---
 configs/nios2-generic_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig
index 09cc51e..2acf45d 100644
--- a/configs/nios2-generic_defconfig
+++ b/configs/nios2-generic_defconfig
@@ -1,4 +1,5 @@
 CONFIG_NIOS2=y
+# CONFIG_SYS_MALLOC_F is not set
 CONFIG_TARGET_NIOS2_GENERIC=y
 CONFIG_DEFAULT_DEVICE_TREE="3c120_devboard"
 CONFIG_HUSH_PARSER=y
@@ -13,3 +14,4 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_OF_CONTROL=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_DM=y
-- 
2.1.4



More information about the U-Boot mailing list