summaryrefslogtreecommitdiffstats
path: root/lib_nios2
diff options
context:
space:
mode:
authorScott McNutt <smcnutt@psyent.com>2010-03-21 13:26:33 -0400
committerScott McNutt <smcnutt@psyent.com>2010-04-02 12:28:40 -0400
commit3fd2a1f3eb83a0bbb84a1397ff9c2af7e6f5d069 (patch)
treed755d5c3f3936f49cb5ea41d9bb7e2b36b238406 /lib_nios2
parentc72bfafbc94e61ea3ff3915c84aa7f9d91a045a0 (diff)
downloadblackbird-obmc-uboot-3fd2a1f3eb83a0bbb84a1397ff9c2af7e6f5d069.tar.gz
blackbird-obmc-uboot-3fd2a1f3eb83a0bbb84a1397ff9c2af7e6f5d069.zip
nios2: Add missing Ethernet initialization to board_init().
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'lib_nios2')
-rw-r--r--lib_nios2/board.c7
1 files changed, 7 insertions, 0 deletions
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 ();
OpenPOWER on IntegriCloud