ARM: v6k: introduce CPU_V6K option
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Jan 2011 15:08:32 +0000 (15:08 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:26 +0000 (21:23 +0000)
commite399b1a4e1d205bdc816cb550d2064f2eb1ddc4c
treecf31e0aeafd972a8ea417dca1ff66c1e0315c907
parent000d9c78eb5cd7f18e3d6a381d66e606bc9b8196
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>
arch/arm/Kconfig
arch/arm/Makefile
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/misc.c
arch/arm/include/asm/cacheflush.h
arch/arm/include/asm/proc-fns.h
arch/arm/kernel/debug.S
arch/arm/kernel/perf_event_v6.c
arch/arm/mm/Kconfig
arch/arm/mm/Makefile
arch/arm/mm/mmap.c