summaryrefslogtreecommitdiff
path: root/lib_avr32/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_avr32/board.c')
-rw-r--r--lib_avr32/board.c7
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();
}