From 623e48a0614359a95f701cd1989bfb50cd413215 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 3 Mar 2015 15:03:57 +0100 Subject: [PATCH] recovery: improve command registration - Reduce max arguments to 2 (cmd + 1 argument) - Disable auto-repeat - doing recovery multiple time by enter doesn't makes sense --- u-boot/common/cmd_recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot/common/cmd_recovery.c b/u-boot/common/cmd_recovery.c index 63d4d349bd..b15fa3a12a 100644 --- a/u-boot/common/cmd_recovery.c +++ b/u-boot/common/cmd_recovery.c @@ -127,7 +127,7 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } U_BOOT_CMD( - run_recovery, CONFIG_SYS_MAXARGS, 1, do_run_recovery, + run_recovery, 2, 0, do_run_recovery, "Run the sysmocom sysmoBTS recovery process", "[force]" );