nios2: Add missing Ethernet initialization to board_init().

Signed-off-by: Scott McNutt <smcnutt@psyent.com>
This commit is contained in:
Scott McNutt 2010-03-21 13:26:33 -04:00
parent c72bfafbc9
commit 3fd2a1f3eb
1 changed files with 7 additions and 0 deletions

View 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 ();