[PATCH] at91mux: Fix both help info and Kconfig info.

Robert P. J. Day rpjday at crashcourse.ca
Sun Jul 6 11:43:51 PDT 2014


Correct options are, in fact, -p and -b.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c
index 292e197..4f2c76e 100644
--- a/arch/arm/mach-at91/gpio.c
+++ b/arch/arm/mach-at91/gpio.c
@@ -509,7 +509,7 @@ static int do_at91mux(int argc, char *argv[])
 }

 BAREBOX_CMD_HELP_START(at91mux)
-BAREBOX_CMD_HELP_TEXT("Dump current MIX configuration. If a BANK or PIN has been")
+BAREBOX_CMD_HELP_TEXT("Dump current MUX configuration. If a BANK or PIN has been")
 BAREBOX_CMD_HELP_TEXT("specified dump pin details.")
 BAREBOX_CMD_HELP_TEXT("")
 BAREBOX_CMD_HELP_TEXT("Options:")
@@ -520,7 +520,7 @@ BAREBOX_CMD_HELP_END
 BAREBOX_CMD_START(at91mux)
 	.cmd		= do_at91mux,
 	BAREBOX_CMD_DESC("list MUX configuration")
-	BAREBOX_CMD_OPTS("[-pn]")
+	BAREBOX_CMD_OPTS("[-pb]")
 	BAREBOX_CMD_GROUP(CMD_GRP_INFO)
 	BAREBOX_CMD_HELP(cmd_at91mux_help)
 	BAREBOX_CMD_COMPLETE(empty_complete)
diff --git a/commands/Kconfig b/commands/Kconfig
index c98dbc5..15b1f08 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -44,7 +44,7 @@ config CMD_AT91MUX
 	help
 	  List MUX configuration

-	  Usage: at91mux [-pn]
+	  Usage: at91mux [-pb]

 	  Dump current MUX configuration. If a BANK or PIN has been
 	  specified dump pin details.

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the barebox mailing list