Consolidate bootcount code into drivers/bootcount
[oweals/u-boot.git] / arch / powerpc / lib / board.c
index 7daffcec3afc7c0a90a8fae10a92bdfd3b08ec87..fea310eedd1c5ce4cc4f82246d09661f6fe042f0 100644 (file)
@@ -932,14 +932,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)
-       {
-               char *s = getenv("bootfile");
-
-               if (s != NULL)
-                       copy_filename(BootFile, s, sizeof(BootFile));
-       }
-#endif
 
        WATCHDOG_RESET();