aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-02-28 11:08:21 -0500
committerArnd Bergmann <arnd@arndb.de>2014-02-28 11:08:21 -0500
commitead47a75cf5b92145294a4cc9671a31b34116589 (patch)
tree91a8f23b169ec7b89e1a748af7dee97bb147c71e /arch/arm/Kconfig
parent80528e197e2924ba82c06f30a9928e93c4f16a33 (diff)
parent4b8b5f25b7485eaf60a40f68451b3b7b741eef59 (diff)
Merge tag 'kconfig-cleanup-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux into next/cleanup
Merge "kconfig clean-up and mach-virt removal for 3.15" from Rob Herring - Remove common kconfig options required by multi-platform builds out of individual platforms as they are redundant. - Make SMP, CACHE_L2X0 and GPIO config options user visible on multi-platform builds as most platforms enable these options and all platforms can run with them enabled. - Make multi-platform v6 default to more optimal v6k rather than v6 - Remove the last bit of mach-virt and convert it to just a kconfig option. * tag 'kconfig-cleanup-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: ARM: virt: select ARM_AMBA ARM: virt: make mach-virt just a kconfig option ARM: vt8500: enable V6K instead of plain V6 ARM: cns3xxx: enable V6K instead of plain V6 ARM: bcm2835: enable V6K instead of plain V6 ARM: Select V6K instead of V6 by default for multi-platform ARM: select MIGHT_HAVE_CACHE_L2X0 for V6 and V7 multi-platform ARM: select HAVE_SMP for V7 multi-platform ARM: centralize common multi-platform kconfig options Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig15
1 files changed, 12 insertions, 3 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 224793cefa31..d5fee71b9978 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -306,9 +306,11 @@ choice
306config ARCH_MULTIPLATFORM 306config ARCH_MULTIPLATFORM
307 bool "Allow multiple platforms to be selected" 307 bool "Allow multiple platforms to be selected"
308 depends on MMU 308 depends on MMU
309 select ARCH_WANT_OPTIONAL_GPIOLIB
309 select ARM_PATCH_PHYS_VIRT 310 select ARM_PATCH_PHYS_VIRT
310 select AUTO_ZRELADDR 311 select AUTO_ZRELADDR
311 select COMMON_CLK 312 select COMMON_CLK
313 select GENERIC_CLOCKEVENTS
312 select MULTI_IRQ_HANDLER 314 select MULTI_IRQ_HANDLER
313 select SPARSE_IRQ 315 select SPARSE_IRQ
314 select USE_OF 316 select USE_OF
@@ -904,16 +906,18 @@ config ARCH_MULTI_V4_V5
904config ARCH_MULTI_V6 906config ARCH_MULTI_V6
905 bool "ARMv6 based platforms (ARM11)" 907 bool "ARMv6 based platforms (ARM11)"
906 select ARCH_MULTI_V6_V7 908 select ARCH_MULTI_V6_V7
907 select CPU_V6 909 select CPU_V6K
908 910
909config ARCH_MULTI_V7 911config ARCH_MULTI_V7
910 bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)" 912 bool "ARMv7 based platforms (Cortex-A, PJ4, Scorpion, Krait)"
911 default y 913 default y
912 select ARCH_MULTI_V6_V7 914 select ARCH_MULTI_V6_V7
913 select CPU_V7 915 select CPU_V7
916 select HAVE_SMP
914 917
915config ARCH_MULTI_V6_V7 918config ARCH_MULTI_V6_V7
916 bool 919 bool
920 select MIGHT_HAVE_CACHE_L2X0
917 921
918config ARCH_MULTI_CPU_AUTO 922config ARCH_MULTI_CPU_AUTO
919 def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7) 923 def_bool !(ARCH_MULTI_V4 || ARCH_MULTI_V4T || ARCH_MULTI_V6_V7)
@@ -921,6 +925,13 @@ config ARCH_MULTI_CPU_AUTO
921 925
922endmenu 926endmenu
923 927
928config ARCH_VIRT
929 bool "Dummy Virtual Machine" if ARCH_MULTI_V7
930 select ARM_AMBA
931 select ARM_GIC
932 select ARM_PSCI
933 select HAVE_ARM_ARCH_TIMER
934
924# 935#
925# This is sorted alphabetically by mach-* pathname. However, plat-* 936# This is sorted alphabetically by mach-* pathname. However, plat-*
926# Kconfigs may be included either alphabetically (according to the 937# Kconfigs may be included either alphabetically (according to the
@@ -1046,8 +1057,6 @@ source "arch/arm/mach-versatile/Kconfig"
1046source "arch/arm/mach-vexpress/Kconfig" 1057source "arch/arm/mach-vexpress/Kconfig"
1047source "arch/arm/plat-versatile/Kconfig" 1058source "arch/arm/plat-versatile/Kconfig"
1048 1059
1049source "arch/arm/mach-virt/Kconfig"
1050
1051source "arch/arm/mach-vt8500/Kconfig" 1060source "arch/arm/mach-vt8500/Kconfig"
1052 1061
1053source "arch/arm/mach-w90x900/Kconfig" 1062source "arch/arm/mach-w90x900/Kconfig"