From bedd2f78d2fc2aa0b9752789807e96dd53df3a8f Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 9 Mar 2015 15:36:33 +0100 Subject: [PATCH] recovery: remove old dead gpio checking code --- u-boot/common/cmd_recovery.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/u-boot/common/cmd_recovery.c b/u-boot/common/cmd_recovery.c index 655db0f500..377d2866df 100644 --- a/u-boot/common/cmd_recovery.c +++ b/u-boot/common/cmd_recovery.c @@ -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);