Skip to contentSkip to conversation

cmd_nand: fix help of nand erase subcommand

PATCH New Daniel Hobi 3 participants 3 messages May 19, 2011 – May 24, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 common/cmd_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
common/cmd_nand.c +1 -1
index 7bd37de..44c4d1f 100644
@@ -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"
Signature · 1 line
1.7.5.1
#2 lore raw

PATCH 1/1 cmd_nand: fix help of nand erase subcommand

In reply to Daniel Hobi
Quoted 8 lines · Daniel Hobi

Since commit 30486322 (nand erase: .spread, .part, .chip subcommands) the arguments off and size are no longer optional.

---
 common/cmd_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-nand-flash.

-Scott