From: Scott McNutt Date: Sun, 21 Mar 2010 13:37:53 -0400 Subject: [U-Boot] [PATCH] nios2: Add missing Ethernet initialization to board_init(). Message-ID: <1269193073-3709-1-git-send-email-smcnutt@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Scott McNutt --- lib_nios2/board.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/lib_nios2/board.c b/lib_nios2/board.c index 41d3297..311d66c 100644 --- a/lib_nios2/board.c +++ b/lib_nios2/board.c @@ -139,6 +139,14 @@ void board_init (void) board_late_init (); #endif +#if defined(CONFIG_CMD_NET) +#if defined(CONFIG_NET_MULTI) + WATCHDOG_RESET (); + puts ("Net: "); +#endif + eth_initialize (bd); +#endif + /* main_loop */ for (;;) { WATCHDOG_RESET (); -- 1.6.0.6