aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-02-14 07:33:36 -0500
committerArnd Bergmann <arnd@arndb.de>2013-02-14 09:04:38 -0500
commit1420b22b0beb98011d35ba414cdb861e518e13ed (patch)
tree87384e5ea652924a0eab470d014e30a4084626bb /arch/arm
parenta02e0a831fc43ed580b8161a2ca5c29c3ae813d9 (diff)
ARM: pick Versatile by default for !MMU
The introduction of ARCH_MULTIPLATFORM changed the default for nommu kernels from Versatile to Integrator, which is less common, and does not currently build for allnoconfig because that does not select any of the CPUs. This also ensures that at least one of the three board files in versatile are enabled, which lets us successfully build an allnoconfig kernel. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig3
-rw-r--r--arch/arm/mach-versatile/Kconfig5
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 91d4aeaa772b..b934d90a61e4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -261,7 +261,8 @@ config MMU
261# 261#
262choice 262choice
263 prompt "ARM system type" 263 prompt "ARM system type"
264 default ARCH_MULTIPLATFORM 264 default ARCH_VERSATILE if !MMU
265 default ARCH_MULTIPLATFORM if MMU
265 266
266config ARCH_MULTIPLATFORM 267config ARCH_MULTIPLATFORM
267 bool "Allow multiple platforms to be selected" 268 bool "Allow multiple platforms to be selected"
diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig
index 63d8e9f81b99..1dba3688275f 100644
--- a/arch/arm/mach-versatile/Kconfig
+++ b/arch/arm/mach-versatile/Kconfig
@@ -25,4 +25,9 @@ config MACH_VERSATILE_DT
25 Include support for the ARM(R) Versatile/PB platform, 25 Include support for the ARM(R) Versatile/PB platform,
26 using the device tree for discovery 26 using the device tree for discovery
27 27
28config MACH_VERSATILE_AUTO
29 def_bool y
30 depends on !ARCH_VERSATILE_PB && !MACH_VERSATILE_AB
31 select MACH_VERSATILE_DT
32
28endmenu 33endmenu