Skip to contentSkip to conversation

commands: nand: add missing parameters to help

PATCH Applied Wolfram Sang 2 participants 2 messages Mar 19, 2023 – Mar 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 commands: nand: add missing parameters to help

---
 commands/Kconfig | 4 +++-
 commands/nand.c  | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
commands/Kconfig +3 -1
index 27769950d9..76dfca2dfd 100644
@@ -1950,12 +1950,14 @@ config CMD_NAND
 	help
 	  NAND flash handling
 
-	  Usage: nand [-adb] NANDDEV
+	  Usage: nand [-adbgi] NANDDEV
 
 	  Options:
 		  -a		register a bad block aware device ontop of a normal NAND device
 		  -d		deregister a bad block aware device
 		  -b OFFS	mark block at OFFSet as bad
+		  -g OFFS	mark block at OFFSet as good
+		  -i		info. Show information about bad blocks
 
 config CMD_NANDTEST
 	tristate
commands/nand.c +1 -1
index 67e43eba30..d07444aee0 100644
@@ -165,7 +165,7 @@ BAREBOX_CMD_HELP_END
 BAREBOX_CMD_START(nand)
 	.cmd		= do_nand,
 	BAREBOX_CMD_DESC("NAND flash handling")
-	BAREBOX_CMD_OPTS("[-adb] NANDDEV")
+	BAREBOX_CMD_OPTS("[-adbgi] NANDDEV")
 	BAREBOX_CMD_GROUP(CMD_GRP_HWMANIP)
 	BAREBOX_CMD_HELP(cmd_nand_help)
 BAREBOX_CMD_END
Signature · 1 line
2.35.1
Applied
#1 lore raw
Quoted 5 lines · Wolfram Sang
---
 commands/Kconfig | 4 +++-
 commands/nand.c  | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

Quoted 39 lines
commands/Kconfig +3 -1
index 27769950d9..76dfca2dfd 100644
@@ -1950,12 +1950,14 @@ config CMD_NAND
 	help
 	  NAND flash handling
 
-	  Usage: nand [-adb] NANDDEV
+	  Usage: nand [-adbgi] NANDDEV
 
 	  Options:
 		  -a		register a bad block aware device ontop of a normal NAND device
 		  -d		deregister a bad block aware device
 		  -b OFFS	mark block at OFFSet as bad
+		  -g OFFS	mark block at OFFSet as good
+		  -i		info. Show information about bad blocks
 
 config CMD_NANDTEST
 	tristate
commands/nand.c +1 -1
index 67e43eba30..d07444aee0 100644
@@ -165,7 +165,7 @@ BAREBOX_CMD_HELP_END
 BAREBOX_CMD_START(nand)
 	.cmd		= do_nand,
 	BAREBOX_CMD_DESC("NAND flash handling")
-	BAREBOX_CMD_OPTS("[-adb] NANDDEV")
+	BAREBOX_CMD_OPTS("[-adbgi] NANDDEV")
 	BAREBOX_CMD_GROUP(CMD_GRP_HWMANIP)
 	BAREBOX_CMD_HELP(cmd_nand_help)
 BAREBOX_CMD_END
Signature · 1 line
2.35.1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |