nios2: enable Driver Model
authorThomas Chou <thomas@wytron.com.tw>
Mon, 7 Sep 2015 11:19:31 +0000 (19:19 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:28:50 +0000 (07:28 +0800)
Enable the Driver Model config. The driver subsystems
are not enabled until we enable each of them.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
configs/nios2-generic_defconfig

index 09cc51e..2acf45d 100644 (file)
@@ -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