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 <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2015-03-03 15:01:17 +01:00 committed by Holger Hans Peter Freyther
parent ef64beafdc
commit 8c2ff5295c
1 changed files with 1 additions and 1 deletions

View File

@ -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]"
);