diff options
author | Detlev Zundel | 2007-05-23 19:02:41 +0200 |
---|---|---|
committer | Detlev Zundel | 2007-06-12 14:23:00 +0200 |
commit | 9912121f7ed804ea58fd62f3f230b5dcfc357d88 (patch) | |
tree | 9ea50de6c23197fa829131701c329fe1345bb285 /common/cmd_flash.c | |
parent | 5afb202093f6a001797db92cf695b93a70ea9ab4 (diff) |
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>
Diffstat (limited to 'common/cmd_flash.c')
-rw-r--r-- | common/cmd_flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_flash.c b/common/cmd_flash.c index cb1c5bb432b..a34ab79c3da 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" |