[PATCH 06/19] commands: move CMD_ARM_CPUINFO to commands/Kconfig
Holger Schurig
holgerschurig at gmail.com
Tue May 13 01:28:46 PDT 2014
* this places the command into the "Information commands"
section of Kconfig
* while at it, imprive Kconfig documention
Signed-off-by: Holger Schurig <holgerschurig at gmail.com>
---
arch/arm/Kconfig | 7 -------
commands/Kconfig | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4a2ec41..f8f3da0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -256,13 +256,6 @@ endmenu
menu "Arm specific settings"
-config CMD_ARM_CPUINFO
- bool "cpuinfo command"
- default y
- help
- Say yes here to get a cpuinfo command to show some
- CPU information using the cp15 registers
-
config CMD_ARM_MMUINFO
bool "mmuinfo command"
depends on CPU_V7
diff --git a/commands/Kconfig b/commands/Kconfig
index ad23dbf..8b5110c 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -30,6 +30,22 @@ menu "Commands"
menu "Information"
+config CMD_ARM_CPUINFO
+ bool "cpuinfo command"
+ default y
+ depends on ARM
+ help
+ Show info about ARM CPU
+
+ Example:
+
+ implementer: ARM
+ architecture: v7
+ core: Cortex-A9 r2p10
+ I-cache: 512 bytes (linelen = 64)
+ D-cache: 8192 bytes (linelen = 8)
+ Control register: M C W P D L I V RR DT IT U XP
+
config CMD_DEVINFO
tristate
default y
--
1.7.10.4
More information about the barebox
mailing list