diff mbox

[U-Boot] nios2: enable Driver Model

Message ID 1441594160-20753-1-git-send-email-thomas@wytron.com.tw
State Accepted, archived
Delegated to: Thomas Chou
Headers show

Commit Message

Thomas Chou Sept. 7, 2015, 2:49 a.m. UTC
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>
---
 configs/nios2-generic_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Marek Vasut Sept. 7, 2015, 9:34 a.m. UTC | #1
On Monday, September 07, 2015 at 04:49:20 AM, Thomas Chou wrote:
> 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>

Cool, let's do this :)

Acked-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
Thomas Chou Sept. 7, 2015, 11:22 a.m. UTC | #2
On 09/07/2015 10:49 AM, Thomas Chou wrote:
> 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>
> ---
>   configs/nios2-generic_defconfig | 2 ++
>   1 file changed, 2 insertions(+)

Applied to u-boot-nios.
diff mbox

Patch

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