ARM: 6934/1: SPEAr6xx: Rework Kconfig for single image solution
authorviresh kumar <viresh.kumar@st.com>
Fri, 20 May 2011 07:34:26 +0000 (08:34 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 May 2011 21:34:25 +0000 (22:34 +0100)
Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-spear6xx/Kconfig
arch/arm/mach-spear6xx/Kconfig600 [deleted file]

index bddba03..ff4ae5b 100644 (file)
@@ -4,17 +4,18 @@
 
 if ARCH_SPEAR6XX
 
-choice
-       prompt "SPEAr6XX Family"
-       default MACH_SPEAR600
+menu "SPEAr6xx Implementations"
+config BOARD_SPEAR600_EVB
+       bool "SPEAr600 Evaluation Board"
+       select MACH_SPEAR600
+       help
+         Supports ST SPEAr600 Evaluation Board
+
+endmenu
 
 config MACH_SPEAR600
        bool "SPEAr600"
        help
          Supports ST SPEAr600 Machine
-endchoice
-
-# Adding SPEAr6XX machine specific configuration files
-source "arch/arm/mach-spear6xx/Kconfig600"
 
 endif #ARCH_SPEAR6XX
diff --git a/arch/arm/mach-spear6xx/Kconfig600 b/arch/arm/mach-spear6xx/Kconfig600
deleted file mode 100644 (file)
index 9e19f65..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# SPEAr600 machine configuration file
-#
-
-if MACH_SPEAR600
-
-choice
-       prompt "SPEAr600 Boards"
-       default BOARD_SPEAR600_EVB
-
-config BOARD_SPEAR600_EVB
-       bool "SPEAr600 Evaluation Board"
-       help
-         Supports ST SPEAr600 Evaluation Board
-endchoice
-
-endif  #MACH_SPEAR600