diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-12-17 17:14:30 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-04-14 16:14:06 +0200 |
commit | 9a24f477a1ed5bb0f74377c985d754ebbfa44872 (patch) | |
tree | 99eb535c6f23f5d362c839cebb35f60c09168f62 /lib_avr32/board.c | |
parent | 5c1fe1ffffd1750a7e47e5a2e2cd600c00e4f009 (diff) | |
download | u-boot-imx-9a24f477a1ed5bb0f74377c985d754ebbfa44872.zip u-boot-imx-9a24f477a1ed5bb0f74377c985d754ebbfa44872.tar.gz u-boot-imx-9a24f477a1ed5bb0f74377c985d754ebbfa44872.tar.bz2 |
AVR32: Enable networking
Implement MACB initialization for AVR32 and ATSTK1000, and turn
everything on, including the MACB driver.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'lib_avr32/board.c')
-rw-r--r-- | lib_avr32/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_avr32/board.c b/lib_avr32/board.c index 2f16386..265328a 100644 --- a/lib_avr32/board.c +++ b/lib_avr32/board.c @@ -328,6 +328,13 @@ void board_init_r(gd_t *new_gd, ulong dest_addr) jumptable_init(); console_init_r(); +#if (CONFIG_COMMANDS & CFG_CMD_NET) +#if defined(CONFIG_NET_MULTI) + puts("Net: "); +#endif + eth_initialize(gd->bd); +#endif + for (;;) { main_loop(); } |