diff options
author | Detlev Zundel <dzu@denx.de> | 2007-05-23 19:02:41 +0200 |
---|---|---|
committer | Detlev Zundel <dzu@denx.de> | 2007-06-12 14:23:00 +0200 |
commit | 9912121f7ed804ea58fd62f3f230b5dcfc357d88 (patch) | |
tree | 9ea50de6c23197fa829131701c329fe1345bb285 | |
parent | 5afb202093f6a001797db92cf695b93a70ea9ab4 (diff) | |
download | u-boot-imx-9912121f7ed804ea58fd62f3f230b5dcfc357d88.zip u-boot-imx-9912121f7ed804ea58fd62f3f230b5dcfc357d88.tar.gz u-boot-imx-9912121f7ed804ea58fd62f3f230b5dcfc357d88.tar.bz2 |
Change 'repeatable' attribute of some commands to sensible values.
Most prominently this changes 'erase' to be non-repeatable.
Signed-off-by: Detlev Zundel <dzu@denx.de>
-rw-r--r-- | common/cmd_flash.c | 4 | ||||
-rw-r--r-- | common/cmd_misc.c | 2 | ||||
-rw-r--r-- | common/cmd_pcmcia.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index cb1c5bb..a34ab79 100644 --- a/common/cmd_flash.c +++ b/common/cmd_flash.c @@ -690,7 +690,7 @@ U_BOOT_CMD( ); U_BOOT_CMD( - erase, 3, 1, do_flerase, + erase, 3, 0, do_flerase, "erase - erase FLASH memory\n", "start end\n" " - erase FLASH from addr 'start' to addr 'end'\n" @@ -704,7 +704,7 @@ U_BOOT_CMD( ); U_BOOT_CMD( - protect, 4, 1, do_protect, + protect, 4, 0, do_protect, "protect - enable or disable FLASH write protection\n", "on start end\n" " - protect FLASH from addr 'start' to addr 'end'\n" diff --git a/common/cmd_misc.c b/common/cmd_misc.c index 67ee9e8..a99222d 100644 --- a/common/cmd_misc.c +++ b/common/cmd_misc.c @@ -63,7 +63,7 @@ U_BOOT_CMD( #endif /* CONFIG_COMMANDS & CFG_CMD_IRQ */ U_BOOT_CMD( - sleep , 2, 2, do_sleep, + sleep , 2, 1, do_sleep, "sleep - delay execution for some time\n", "N\n" " - delay execution for N seconds (N is _decimal_ !!!)\n" diff --git a/common/cmd_pcmcia.c b/common/cmd_pcmcia.c index 2eb5b26..b1a594f 100644 --- a/common/cmd_pcmcia.c +++ b/common/cmd_pcmcia.c @@ -87,7 +87,7 @@ int do_pinit (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } U_BOOT_CMD( - pinit, 2, 1, do_pinit, + pinit, 2, 0, do_pinit, "pinit - PCMCIA sub-system\n", "on - power on PCMCIA socket\n" "pinit off - power off PCMCIA socket\n" |