net: move bootfile init into eth_initialize
[kernel/u-boot.git] / arch / m68k / lib / board.c
index ffd91a8..65a8595 100644 (file)
@@ -559,11 +559,6 @@ void board_init_r (gd_t *id, ulong dest_addr)
 
        /* Initialize from environment */
        load_addr = getenv_ulong("loadaddr", 16, load_addr);
-#if defined(CONFIG_CMD_NET)
-       if ((s = getenv ("bootfile")) != NULL) {
-               copy_filename (BootFile, s, sizeof (BootFile));
-       }
-#endif
 
        WATCHDOG_RESET ();