summaryrefslogtreecommitdiff
path: root/common/cmd_flash.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-20 08:23:42 +0200
committerStefan Roese <sr@denx.de>2007-06-20 08:23:42 +0200
commit6b44466cdeabd54f9dabcd2f00d3a232a4b854a9 (patch)
tree35e536aa1eb7e781b78fff82da76e16a5e3a00f7 /common/cmd_flash.c
parentb3f9ec86e388207fd03dcdf7b145b9ed080bf024 (diff)
parent5ffa76a032279bc6d3230b703eda32d13305ba13 (diff)
downloadu-boot-imx-6b44466cdeabd54f9dabcd2f00d3a232a4b854a9.zip
u-boot-imx-6b44466cdeabd54f9dabcd2f00d3a232a4b854a9.tar.gz
u-boot-imx-6b44466cdeabd54f9dabcd2f00d3a232a4b854a9.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
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"