summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2010-02-22 00:02:59 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-24 21:07:22 +0000
commitd6d502fa4be1acd01971476fc732c95a4da16d90 (patch)
treed6c5118046c02f489765bebc4f7c8be71e8375a2 /arch/arm/mm
parent3b43816f685fc6c2531f43514662f796f4601ffc (diff)
downloadop-kernel-dev-d6d502fa4be1acd01971476fc732c95a4da16d90.zip
op-kernel-dev-d6d502fa4be1acd01971476fc732c95a4da16d90.tar.gz
ARM: 5952/1: ARM: MM: Add ARM_L1_CACHE_SHIFT_6 for handle inside each ARCH Kconfig
Add ARM_L1_CACHE_SHIFT_6 to arch/arm/Kconfig to allow CPUs with L1 cache lines which are 64bytes to indicate this without having to alter the arch/arm/mm/Kconfig entry each time. Update the mm Kconfig so that ARM_L1_CACHE_SHIFT default value uses this and change OMAP3 and S5PC1XX to select ARM_L1_CACHE_SHIFT_6. Acked-by: Ben Dooks <ben-linux@fluff.org> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index e859743..c4ed9f9 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -779,5 +779,5 @@ config CACHE_XSC3L2
config ARM_L1_CACHE_SHIFT
int
- default 6 if ARCH_OMAP3 || ARCH_S5PC1XX
+ default 6 if ARM_L1_CACHE_SHIFT_6
default 5
OpenPOWER on IntegriCloud