diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-08-24 10:25:09 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-09-16 09:38:55 +0200 |
commit | 684653842b65b98538e5d6198998e68c879bd45e (patch) | |
tree | c104c3425f8776477c29fa519eb1bfb7597b800a /arch/arm/mach-exynos4/cpu.c | |
parent | Merge branch 'next/topic-cleanup-smdkv310' into next/topic-add-exynos4212 (diff) | |
download | linux-684653842b65b98538e5d6198998e68c879bd45e.tar.xz linux-684653842b65b98538e5d6198998e68c879bd45e.zip |
ARM: EXYNOS4: Add support new EXYNOS4212 SoC
This patch adds Samsung EXYNOS4212 SoC support.
The EXYNOS4212 integrates a ARM Cortex A9 multi-core.
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/cpu.c')
-rw-r--r-- | arch/arm/mach-exynos4/cpu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos4/cpu.c b/arch/arm/mach-exynos4/cpu.c index 0d281bbe345a..1e1a7a9d2ae7 100644 --- a/arch/arm/mach-exynos4/cpu.c +++ b/arch/arm/mach-exynos4/cpu.c @@ -241,7 +241,11 @@ static int __init exynos4_l2x0_cache_init(void) { /* TAG, Data Latency Control: 2cycle */ __raw_writel(0x110, S5P_VA_L2CC + L2X0_TAG_LATENCY_CTRL); - __raw_writel(0x110, S5P_VA_L2CC + L2X0_DATA_LATENCY_CTRL); + + if (soc_is_exynos4210()) + __raw_writel(0x110, S5P_VA_L2CC + L2X0_DATA_LATENCY_CTRL); + else if (soc_is_exynos4212()) + __raw_writel(0x120, S5P_VA_L2CC + L2X0_DATA_LATENCY_CTRL); /* L2X0 Prefetch Control */ __raw_writel(0x30000007, S5P_VA_L2CC + L2X0_PREFETCH_CTRL); |