]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
nios2: Add missing Ethernet initialization to board_init().
authorScott McNutt <smcnutt@psyent.com>
Sun, 21 Mar 2010 17:26:33 +0000 (13:26 -0400)
committerScott McNutt <smcnutt@psyent.com>
Fri, 2 Apr 2010 16:28:40 +0000 (12:28 -0400)
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
lib_nios2/board.c

index 41d3297190bda5343aba22cabea135b9a0b5b617..8ec66a354045935cbb1e70566c0557e74fc9fc33 100644 (file)
@@ -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 ();