net: move bootfile init into eth_initialize
[kernel/u-boot.git] / arch / avr32 / lib / board.c
index 3c2d0fb..b390a6c 100644 (file)
@@ -327,9 +327,6 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
        bb_miiphy_init();
 #endif
 #if defined(CONFIG_CMD_NET)
-       s = getenv("bootfile");
-       if (s)
-               copy_filename(BootFile, s, sizeof(BootFile));
        puts("Net:   ");
        eth_initialize(gd->bd);
 #endif