aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-17 10:08:32 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-02 16:23:26 -0500
commite399b1a4e1d205bdc816cb550d2064f2eb1ddc4c (patch)
treecf31e0aeafd972a8ea417dca1ff66c1e0315c907 /arch/arm/Kconfig
parent000d9c78eb5cd7f18e3d6a381d66e606bc9b8196 (diff)
ARM: v6k: introduce CPU_V6K option
Introduce a CPU_V6K configuration option for platforms to select if they have a V6K CPU core. This allows us to identify whether we need to support ARMv6 CPUs without the V6K SMP extensions at build time. Currently CPU_V6K is just an alias for CPU_V6, and all places which reference CPU_V6 are replaced by (CPU_V6 || CPU_V6K). Select CPU_V6K from platforms which are known to be V6K-only. Acked-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/Kconfig')
-rw-r--r--arch/arm/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5cff165b7eb0..95ba92ff0d41 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -24,7 +24,7 @@ config ARM
24 select HAVE_PERF_EVENTS 24 select HAVE_PERF_EVENTS
25 select PERF_USE_VMALLOC 25 select PERF_USE_VMALLOC
26 select HAVE_REGS_AND_STACK_ACCESS_API 26 select HAVE_REGS_AND_STACK_ACCESS_API
27 select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7)) 27 select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7))
28 select HAVE_C_RECORDMCOUNT 28 select HAVE_C_RECORDMCOUNT
29 select HAVE_GENERIC_HARDIRQS 29 select HAVE_GENERIC_HARDIRQS
30 select HAVE_SPARSE_IRQ 30 select HAVE_SPARSE_IRQ
@@ -1048,7 +1048,7 @@ config XSCALE_PMU
1048 default y 1048 default y
1049 1049
1050config CPU_HAS_PMU 1050config CPU_HAS_PMU
1051 depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \ 1051 depends on (CPU_V6 || CPU_V6K || CPU_V7 || XSCALE_PMU) && \
1052 (!ARCH_OMAP3 || OMAP3_EMU) 1052 (!ARCH_OMAP3 || OMAP3_EMU)
1053 default y 1053 default y
1054 bool 1054 bool
@@ -1064,7 +1064,7 @@ endif
1064 1064
1065config ARM_ERRATA_411920 1065config ARM_ERRATA_411920
1066 bool "ARM errata: Invalidation of the Instruction Cache operation can fail" 1066 bool "ARM errata: Invalidation of the Instruction Cache operation can fail"
1067 depends on CPU_V6 1067 depends on CPU_V6 || CPU_V6K
1068 help 1068 help
1069 Invalidation of the Instruction Cache operation can 1069 Invalidation of the Instruction Cache operation can
1070 fail. This erratum is present in 1136 (before r1p4), 1156 and 1176. 1070 fail. This erratum is present in 1136 (before r1p4), 1156 and 1176.
@@ -1361,7 +1361,7 @@ config HZ
1361 1361
1362config THUMB2_KERNEL 1362config THUMB2_KERNEL
1363 bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)" 1363 bool "Compile the kernel in Thumb-2 mode (EXPERIMENTAL)"
1364 depends on CPU_V7 && !CPU_V6 && EXPERIMENTAL 1364 depends on CPU_V7 && !CPU_V6 && !CPU_V6K && EXPERIMENTAL
1365 select AEABI 1365 select AEABI
1366 select ARM_ASM_UNIFIED 1366 select ARM_ASM_UNIFIED
1367 help 1367 help
@@ -1852,7 +1852,7 @@ config FPE_FASTFPE
1852 1852
1853config VFP 1853config VFP
1854 bool "VFP-format floating point maths" 1854 bool "VFP-format floating point maths"
1855 depends on CPU_V6 || CPU_ARM926T || CPU_V7 || CPU_FEROCEON 1855 depends on CPU_V6 || CPU_V6K || CPU_ARM926T || CPU_V7 || CPU_FEROCEON
1856 help 1856 help
1857 Say Y to include VFP support code in the kernel. This is needed 1857 Say Y to include VFP support code in the kernel. This is needed
1858 if your hardware includes a VFP unit. 1858 if your hardware includes a VFP unit.