break;
#endif
default:
- show_boot_progress (-80);
+ show_boot_error(80);
return CMD_RET_USAGE;
}
- show_boot_progress (80);
+ show_boot_progress(80);
if ((size = NetLoop(proto)) < 0) {
- show_boot_progress (-81);
+ show_boot_error(81);
return 1;
}
- show_boot_progress (81);
+ show_boot_progress(81);
/* NetLoop ok, update environment */
netboot_update_env();
/* done if no file was loaded (no errors though) */
if (size == 0) {
- show_boot_progress (-82);
+ show_boot_error(82);
return 0;
}
rcode = bootm_maybe_autostart(cmdtp, argv[0]);
if (rcode < 0)
- show_boot_progress (-83);
+ show_boot_error(83);
else
- show_boot_progress (84);
+ show_boot_progress(84);
return rcode;
}