Explorar o código

Undo commit 3033ebb2: reset command does not take any arguments

Haiying Wang's modification to the reset command was broken, undo it.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk %!s(int64=18) %!d(string=hai) anos
pai
achega
0bba545283
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/cmd_boot.c

+ 1 - 1
common/cmd_boot.c

@@ -83,7 +83,7 @@ U_BOOT_CMD(
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 
 U_BOOT_CMD(
-	reset, CFG_MAXARGS, 1,	do_reset,
+	reset, 1, 0,	do_reset,
 	"reset   - Perform RESET of the CPU\n",
 	NULL
 );