cmd_recovery: remove old unused argument force
This commit is contained in:
parent
e962169649
commit
36f05d569d
|
@ -83,11 +83,6 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
//status_led_set(0, STATUS_LED_ON);
|
//status_led_set(0, STATUS_LED_ON);
|
||||||
printf("Starting the recovery process.\n");
|
printf("Starting the recovery process.\n");
|
||||||
|
|
||||||
/* Wait a bit and check if the reset button is still pressed */
|
|
||||||
if (argc == 2 && strcmp(argv[1], "force") == 0) {
|
|
||||||
printf("Forcing the recovery process.\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
BLINK_LED(5);
|
BLINK_LED(5);
|
||||||
//status_led_set(0, STATUS_LED_ON);
|
//status_led_set(0, STATUS_LED_ON);
|
||||||
|
|
||||||
|
@ -121,5 +116,5 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
run_recovery, 2, 0, do_run_recovery,
|
run_recovery, 2, 0, do_run_recovery,
|
||||||
"run_recovery - tftp boot a given image",
|
"run_recovery - tftp boot a given image",
|
||||||
"[force]"
|
""
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue