[PATCH 08/19] commands: move CMD_MIPS_CPUINFO to commands/Kconfig

Holger Schurig holgerschurig at gmail.com
Tue May 13 01:28:48 PDT 2014


* this places the command into the "Information commands"
  section of Kconfig

Signed-off-by: Holger Schurig <holgerschurig at gmail.com>
---
 arch/mips/Kconfig |    7 -------
 commands/Kconfig  |    8 ++++++++
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 9a240b7..6ce7fff 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -274,13 +274,6 @@ endchoice
 
 menu "MIPS specific settings"
 
-config CMD_MIPS_CPUINFO
-	bool "cpuinfo command"
-	default y
-	help
-	  Say yes here to get a cpuinfo command to show some
-	  information about the cpu model.
-
 config HAS_NMON
 	bool
 
diff --git a/commands/Kconfig b/commands/Kconfig
index 9789af4..db091c4 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -46,6 +46,14 @@ config CMD_ARM_CPUINFO
 	  D-cache: 8192 bytes (linelen = 8)
 	  Control register: M C W P D L I V RR DT IT U XP
 
+config CMD_MIPS_CPUINFO
+	bool "cpuinfo command"
+	default y
+	depends on MIPS
+	help
+	  Say yes here to get a cpuinfo command to show some
+	  information about the cpu model.
+
 config CMD_DEVINFO
 	tristate
 	default y
-- 
1.7.10.4




More information about the barebox mailing list