[PATCH 12/19] commands: move CMD_AT91MIX to commands/Kconfig
Holger Schurig
holgerschurig at gmail.com
Tue May 13 01:28:52 PDT 2014
* this places the command into the "Information commands"
section of Kconfig
* while at it, improve Kconfig documention
Signed-off-by: Holger Schurig <holgerschurig at gmail.com>
---
arch/arm/mach-at91/Kconfig | 8 --------
commands/Kconfig | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index a3f4f3f..298ee3f 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -524,14 +524,6 @@ config CALAO_MB_QIL_A9260
bool "MB-QIL A9260 Motherboard Board support"
depends on MACH_QIL_A9260 || MACH_QIL_A9G20
-if COMMAND_SUPPORT
-
-config CMD_AT91MUX
- bool "at91mux dump command"
- default y
-
-endif
-
config AT91_BOOTSTRAP
bool "at91 bootstrap"
depends on HAVE_AT91_LOWLEVEL_INIT
diff --git a/commands/Kconfig b/commands/Kconfig
index 166693d..47ac352 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -37,6 +37,22 @@ config CMD_AT91CLK
help
List clock configuration.
+config CMD_AT91MUX
+ bool "at91mux"
+ default y
+ depends on ARCH_AT91
+ help
+ List MUX configuration
+
+ Usage: at91mux [-pn]
+
+ Dump current MUX configuration. If a BANK or PIN has been
+ specified dump pin details.
+
+ Options:
+ -p PIN pin number
+ -b BANK bank number
+
config CMD_ARM_CPUINFO
bool "cpuinfo command"
default y
--
1.7.10.4
More information about the barebox
mailing list