[U-Boot] [PATCH][Resubmit] nios2: Add missing Ethernet initialization to board_init().

Scott McNutt smcnutt at psyent.com
Tue Mar 23 15:44:12 CET 2010


Signed-off-by: Scott McNutt <smcnutt at psyent.com>
---
 lib_nios2/board.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/lib_nios2/board.c b/lib_nios2/board.c
index 41d3297..8ec66a3 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 ();
-- 
1.6.0.6



More information about the U-Boot mailing list