From 65fd693b727117788e8176ee32bd6b79d3c40fe4 Mon Sep 17 00:00:00 2001 From: Holger Schurig Date: Tue, 13 May 2014 10:28:46 +0200 Subject: [PATCH] commands: move CMD_ARM_CPUINFO to commands/Kconfig * this places the command into the "Information commands" section of Kconfig * while at it, imprive Kconfig documention Signed-off-by: Holger Schurig Signed-off-by: Sascha Hauer --- 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 4a2ec41bb..f8f3da02c 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 e1e2405eb..ce1ff0443 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