summaryrefslogtreecommitdiff
path: root/common/cmd_nand.c
diff options
context:
space:
mode:
authorDaniel Hobi <daniel.hobi@schmid-telecom.ch>2011-05-19 19:28:54 +0200
committerScott Wood <scottwood@freescale.com>2011-05-24 16:08:44 -0500
commiteb3abce898ce0d9c711ed1d107bd8b0ccf3c07de (patch)
tree9e3736f4b692d73fb792345c43fe73d0089a5beb /common/cmd_nand.c
parent3b250ffb4113fe521a71c0a8b30340cf237c2508 (diff)
downloadu-boot-imx-eb3abce898ce0d9c711ed1d107bd8b0ccf3c07de.zip
u-boot-imx-eb3abce898ce0d9c711ed1d107bd8b0ccf3c07de.tar.gz
u-boot-imx-eb3abce898ce0d9c711ed1d107bd8b0ccf3c07de.tar.bz2
cmd_nand: fix help of nand erase subcommand
Since commit 30486322 (nand erase: .spread, .part, .chip subcommands) the arguments off and size are no longer optional. Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'common/cmd_nand.c')
-rw-r--r--common/cmd_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 7bd37de..44c4d1f 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -693,7 +693,7 @@ U_BOOT_CMD(
" write 'size' bytes starting at offset 'off' with yaffs format\n"
" from memory address 'addr', skipping bad blocks.\n"
#endif
- "nand erase[.spread] [clean] [off [size]] - erase 'size' bytes "
+ "nand erase[.spread] [clean] off size - erase 'size' bytes "
"from offset 'off'\n"
" With '.spread', erase enough for given file size, otherwise,\n"
" 'size' includes skipped bad blocks.\n"