commit | 5cfa9c0e8b9e20f38b23dad080693ddf55603901 | [log] [tgz] |
---|---|---|
author | Scott McNutt <smcnutt@psyent.com> | Sun Mar 21 13:26:33 2010 -0400 |
committer | Scott McNutt <smcnutt@psyent.com> | Fri Apr 02 12:28:40 2010 -0400 |
tree | d755d5c3f3936f49cb5ea41d9bb7e2b36b238406 | |
parent | ebc540421d3d3d317f8b684bc20bfdb2cc809433 [diff] [blame] |
nios2: Add missing Ethernet initialization to board_init(). Signed-off-by: Scott McNutt <smcnutt@psyent.com>
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 @@ 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 ();