AVR32: Enable networking
[platform/kernel/u-boot.git] / lib_avr32 / board.c
index 2f16386..265328a 100644 (file)
@@ -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();
        }