Patchwork [U-Boot,FIX] cmd_nand: fix help of nand erase subcommand

login
register
mail settings
Submitter Daniel Hobi
Date May 19, 2011, 5:28 p.m.
Message ID <1305826134-18406-1-git-send-email-daniel.hobi@schmid-telecom.ch>
Download mbox | patch
Permalink /patch/96433/
State Accepted
Commit eb3abce898ce0d9c711ed1d107bd8b0ccf3c07de
Headers show

Comments

Daniel Hobi - May 19, 2011, 5:28 p.m.
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>
---
 common/cmd_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Mike Frysinger - May 23, 2011, 11:58 p.m.
there's no need to specify "[FIX]" in the summary
-mike
Scott Wood - May 24, 2011, 8:58 p.m.
On Thu, May 19, 2011 at 07:28:54PM +0200, Daniel Hobi wrote:
> 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>
> ---
>  common/cmd_nand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-nand-flash.

-Scott

Patch

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"