diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2010-02-21 18:02:59 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-24 16:07:22 -0500 |
commit | d6d502fa4be1acd01971476fc732c95a4da16d90 (patch) | |
tree | d6c5118046c02f489765bebc4f7c8be71e8375a2 /arch/arm/Kconfig | |
parent | 3b43816f685fc6c2531f43514662f796f4601ffc (diff) |
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/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0f1ad743ccdd..04247ba31d69 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -165,6 +165,11 @@ config ARCH_MTD_XIP | |||
165 | config GENERIC_HARDIRQS_NO__DO_IRQ | 165 | config GENERIC_HARDIRQS_NO__DO_IRQ |
166 | def_bool y | 166 | def_bool y |
167 | 167 | ||
168 | config ARM_L1_CACHE_SHIFT_6 | ||
169 | bool | ||
170 | help | ||
171 | Setting ARM L1 cache line size to 64 Bytes. | ||
172 | |||
168 | if OPROFILE | 173 | if OPROFILE |
169 | 174 | ||
170 | config OPROFILE_ARMV6 | 175 | config OPROFILE_ARMV6 |
@@ -642,6 +647,7 @@ config ARCH_S5PC1XX | |||
642 | select GENERIC_GPIO | 647 | select GENERIC_GPIO |
643 | select HAVE_CLK | 648 | select HAVE_CLK |
644 | select CPU_V7 | 649 | select CPU_V7 |
650 | select ARM_L1_CACHE_SHIFT_6 | ||
645 | help | 651 | help |
646 | Samsung S5PC1XX series based systems | 652 | Samsung S5PC1XX series based systems |
647 | 653 | ||