Skip to contentSkip to conversation

nios2: Add missing Ethernet initialization to board_init().

PATCH New Scott McNutt 1 participant 1 message Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nios2: Add missing Ethernet initialization to board_init().

---
 lib_nios2/board.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
lib_nios2/board.c +7 -0
index 41d3297..8ec66a3 100644
@@ -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 ();
Signature · 1 line
1.6.0.6