recovery: remove old dead gpio checking code

This commit is contained in:
Alexander Couzens 2015-03-09 15:36:33 +01:00
parent 7c5985594c
commit bedd2f78d2
1 changed files with 0 additions and 9 deletions

View File

@ -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 */
if (argc == 2 && strcmp(argv[1], "force") == 0) {
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);