From 8c2ff5295cb082bdb19498c897767022f254a219 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 3 Mar 2015 15:01:17 +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 Signed-off-by: Alexander Couzens --- common/cmd_recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_recovery.c b/common/cmd_recovery.c index 5ba5b9e576..d2ccde1301 100644 --- a/common/cmd_recovery.c +++ b/common/cmd_recovery.c @@ -138,7 +138,7 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char * const ar } 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]" );