From 36f05d569d545894ec3442181c87cc67c545b3d6 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 19 May 2015 11:00:29 +0200 Subject: [PATCH] cmd_recovery: remove old unused argument force --- u-boot/common/cmd_recovery.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/u-boot/common/cmd_recovery.c b/u-boot/common/cmd_recovery.c index 925873e9da..9d4867b7e7 100644 --- a/u-boot/common/cmd_recovery.c +++ b/u-boot/common/cmd_recovery.c @@ -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); 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); //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( run_recovery, 2, 0, do_run_recovery, "run_recovery - tftp boot a given image", - "[force]" + "" );