Skip to contentSkip to conversation

Make some help comments less confusing

PATCH Applied Juergen Beisert 2 participants 2 messages Mar 17, 2010 – Mar 18, 2010 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw
---
 commands/nand.c         |    2 +-
 drivers/nand/nand_imx.c |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
commands/nand.c +1 -1
Index: barebox-2010.03.0/commands/nand.c
===================================================================
@@ -363,6 +363,6 @@ static const __maybe_unused char cmd_nan
 
 BAREBOX_CMD_START(nand)
 	.cmd		= do_nand,
-	.usage		= "",
+	.usage		= "NAND specific handling",
 	BAREBOX_CMD_HELP(cmd_nand_help)
 BAREBOX_CMD_END
drivers/nand/nand_imx.c +4 -2
Index: barebox-2010.03.0/drivers/nand/nand_imx.c
===================================================================
@@ -1166,11 +1166,13 @@ static int do_nand_boot_test(struct comm
 }
 
 static const __maybe_unused char cmd_nand_boot_test_help[] =
-"Usage: nand_boot_test <dest> <size>\n";
+"Usage: nand_boot_test <dest> <size>\n"
+"This command loads the booloader from the NAND memory like the reset\n"
+"routine does. Its intended for development tests only";
 
 BAREBOX_CMD_START(nand_boot_test)
 	.cmd		= do_nand_boot_test,
-	.usage		= "list a file or directory",
+	.usage		= "load bootloader from NAND",
 	BAREBOX_CMD_HELP(cmd_nand_boot_test_help)
 BAREBOX_CMD_END
 #endif
Signature · 9 lines
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
maintainer Applied
#1 lore raw

applied to -master.

Sascha

Quoted 51 lines · Juergen Beisert
---
 commands/nand.c         |    2 +-
 drivers/nand/nand_imx.c |    6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

Index: barebox-2010.03.0/commands/nand.c
===================================================================

commands/nand.c +1 -1
@@ -363,6 +363,6 @@ static const __maybe_unused char cmd_nan
 
 BAREBOX_CMD_START(nand)
 	.cmd		= do_nand,
-	.usage		= "",
+	.usage		= "NAND specific handling",
 	BAREBOX_CMD_HELP(cmd_nand_help)
 BAREBOX_CMD_END

Index: barebox-2010.03.0/drivers/nand/nand_imx.c
===================================================================

drivers/nand/nand_imx.c +4 -2
@@ -1166,11 +1166,13 @@ static int do_nand_boot_test(struct comm
 }
 
 static const __maybe_unused char cmd_nand_boot_test_help[] =
-"Usage: nand_boot_test <dest> <size>\n";
+"Usage: nand_boot_test <dest> <size>\n"
+"This command loads the booloader from the NAND memory like the reset\n"
+"routine does. Its intended for development tests only";
 
 BAREBOX_CMD_START(nand_boot_test)
 	.cmd		= do_nand_boot_test,
-	.usage		= "list a file or directory",
+	.usage		= "load bootloader from NAND",
 	BAREBOX_CMD_HELP(cmd_nand_boot_test_help)
 BAREBOX_CMD_END
 #endif
Signature · 10 lines
-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox