[U-Boot] [PATCH] [FIX] cmd_nand: fix help of nand erase subcommand
Daniel Hobi
daniel.hobi at schmid-telecom.ch
Thu May 19 19:28:54 CEST 2011
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 at schmid-telecom.ch>
Cc: Scott Wood <scottwood at freescale.com>
---
common/cmd_nand.c | 2 +-
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"
--
1.7.5.1
More information about the U-Boot
mailing list