summaryrefslogtreecommitdiff
path: root/common/cmd_flash.c
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2007-05-23 19:02:41 +0200
committerDetlev Zundel <dzu@denx.de>2007-06-12 14:23:00 +0200
commit9912121f7ed804ea58fd62f3f230b5dcfc357d88 (patch)
tree9ea50de6c23197fa829131701c329fe1345bb285 /common/cmd_flash.c
parent5afb202093f6a001797db92cf695b93a70ea9ab4 (diff)
downloadu-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>
Diffstat (limited to 'common/cmd_flash.c')
-rw-r--r--common/cmd_flash.c4
1 files changed, 2 insertions, 2 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"