From: Scott McNutt <smcnutt@psyent.com>
Date: Sun, 21 Mar 2010 17:26:33 +0000 (-0400)
Subject: nios2: Add missing Ethernet initialization to board_init().
X-Git-Tag: v2025.01-rc5-pxa1908~20360
X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=3fd2a1f3eb83a0bbb84a1397ff9c2af7e6f5d069;p=u-boot.git

nios2: Add missing Ethernet initialization to board_init().

Signed-off-by: Scott McNutt <smcnutt@psyent.com>
---

diff --git a/lib_nios2/board.c b/lib_nios2/board.c
index 41d3297190..8ec66a3540 100644
--- a/lib_nios2/board.c
+++ b/lib_nios2/board.c
@@ -139,6 +139,13 @@ void board_init (void)
 	board_late_init ();
 #endif
 
+#if defined(CONFIG_CMD_NET)
+#if defined(CONFIG_NET_MULTI)
+	puts ("Net:   ");
+#endif
+	eth_initialize (bd);
+#endif
+
 	/* main_loop */
 	for (;;) {
 		WATCHDOG_RESET ();