aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-15 11:25:04 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-02 16:23:31 -0500
commit60799c6dd727b72b9c6794e9d1ab2d2b01a87ca4 (patch)
treedb3a7944e1b697e3f295213b066857bdc77ade46 /arch/arm/mm
parent8762df4d5c5462bea8ad0f76473f39e9ce9b8662 (diff)
ARM: v6k: do not disable CPU_32v6K based on platform selection
CPU_32v6K controls whether we use the ARMv6K extension instructions in the kernel, and in some places whether we use SMP-safe code sequences (eg, bitops.) MX3 prevents the selection of this option to ensure that it is not enabled for their CPU, which is ARMv6 only. Now that we've split the CPU_V6 option, V6K support won't be offered for MX3 anymore. OMAP prevents the selection of this option in an attempt to produce a kernel which runs on architectures from ARMv6 to ARMv7 MPCore. We now achieve this in a different way (see the previous patches). As such, we no longer need to offer this as a configuration option to the user. Tested-by: Tony Lindgren <tony@atomide.com> Tested-by: Sourav Poddar <sourav.poddar@ti.com> Tested-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/Kconfig14
1 files changed, 3 insertions, 11 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 29215f5f11b2..ca1238baef71 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -405,7 +405,7 @@ config CPU_V6
405config CPU_V6K 405config CPU_V6K
406 bool "Support ARM V6K processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX 406 bool "Support ARM V6K processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX
407 select CPU_32v6 407 select CPU_32v6
408 select CPU_32v6K if !ARCH_OMAP2 408 select CPU_32v6K
409 select CPU_ABRT_EV6 409 select CPU_ABRT_EV6
410 select CPU_PABRT_V6 410 select CPU_PABRT_V6
411 select CPU_CACHE_V6 411 select CPU_CACHE_V6
@@ -418,7 +418,7 @@ config CPU_V6K
418# ARMv7 418# ARMv7
419config CPU_V7 419config CPU_V7
420 bool "Support ARM V7 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX 420 bool "Support ARM V7 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX
421 select CPU_32v6K if !ARCH_OMAP2 421 select CPU_32v6K
422 select CPU_32v7 422 select CPU_32v7
423 select CPU_ABRT_EV7 423 select CPU_ABRT_EV7
424 select CPU_PABRT_V7 424 select CPU_PABRT_V7
@@ -461,15 +461,7 @@ config CPU_32v6
461 select CPU_USE_DOMAINS if CPU_V6 && MMU 461 select CPU_USE_DOMAINS if CPU_V6 && MMU
462 462
463config CPU_32v6K 463config CPU_32v6K
464 bool "Support ARM V6K processor extensions" if !SMP 464 bool
465 depends on CPU_V6 || CPU_V6K || CPU_V7
466 default y if SMP && !(ARCH_MX3 || ARCH_OMAP2)
467 help
468 Say Y here if your ARMv6 processor supports the 'K' extension.
469 This enables the kernel to use some instructions not present
470 on previous processors, and as such a kernel build with this
471 enabled will not boot on processors with do not support these
472 instructions.
473 465
474config CPU_32v7 466config CPU_32v7
475 bool 467 bool