瀏覽代碼

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 18 年之前
父節點
當前提交
0bba545283
共有 1 個文件被更改,包括 1 次插入1 次删除
  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[]);
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
 
 
 U_BOOT_CMD(
 U_BOOT_CMD(
-	reset, CFG_MAXARGS, 1,	do_reset,
+	reset, 1, 0,	do_reset,
 	"reset   - Perform RESET of the CPU\n",
 	"reset   - Perform RESET of the CPU\n",
 	NULL
 	NULL
 );
 );