OSDN Git Service

ARM: spear6xx: remove board selection options
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Apr 2012 17:37:58 +0000 (17:37 +0000)
committerArnd Bergmann <arnd@arndb.de>
Mon, 14 May 2012 15:48:27 +0000 (17:48 +0200)
There are no board specific configurations that need user
intervention, so just make MACH_SPEAR600 the silent default
for ARCH_SPEAR6XX to prevent users from turning it off, which
would result in a build error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Viresh Kumar <viresh.kumar@st.com>
arch/arm/mach-spear6xx/Kconfig

index fbe298b..339f397 100644 (file)
@@ -2,21 +2,9 @@
 # SPEAr6XX Machine configuration file
 #
 
-if ARCH_SPEAR6XX
-
-menu "SPEAr6xx Implementations"
-config BOARD_SPEAR600_DT
-       bool "SPEAr600 generic board configured via device-tree"
-       select MACH_SPEAR600
+config MACH_SPEAR600
+       def_bool y
+       depends on ARCH_SPEAR6XX
        select USE_OF
        help
          Supports ST SPEAr600 boards configured via the device-tree
-
-endmenu
-
-config MACH_SPEAR600
-       bool "SPEAr600"
-       help
-         Supports ST SPEAr600 Machine
-
-endif #ARCH_SPEAR6XX