recovery: remove old dead gpio checking code
This commit is contained in:
parent
7c5985594c
commit
bedd2f78d2
|
@ -85,15 +85,6 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
/* Wait a bit and check if the reset button is still pressed */
|
/* Wait a bit and check if the reset button is still pressed */
|
||||||
if (argc == 2 && strcmp(argv[1], "force") == 0) {
|
if (argc == 2 && strcmp(argv[1], "force") == 0) {
|
||||||
printf("Forcing the recovery process.\n");
|
printf("Forcing the recovery process.\n");
|
||||||
} else {
|
|
||||||
run_command("sleep 5", 0);
|
|
||||||
//if (gpio_get_value(38) != 0) {
|
|
||||||
printf("Recovery process aborted.\n");
|
|
||||||
run_command("dhcp", 0);
|
|
||||||
enable_netconsole();
|
|
||||||
BLINK_LED(4);
|
|
||||||
return 0;
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BLINK_LED(5);
|
BLINK_LED(5);
|
||||||
|
|
Loading…
Reference in New Issue