aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-19 12:07:34 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-30 00:49:10 +0100
commitdfbdd3d55403ebd29a355e907e53576ce57c6d96 (patch)
tree823c0c626260f6005661843afc97342af883ed56 /arch/arm
parentARM: l2c: cns3xxx: remove cache size override (diff)
downloadlinux-dev-dfbdd3d55403ebd29a355e907e53576ce57c6d96.tar.xz
linux-dev-dfbdd3d55403ebd29a355e907e53576ce57c6d96.zip
ARM: l2c: exynos: remove cache size override
The cache size should already be present in the L2 cache auxiliary control register: it is part of the integration process to configure the hardware IP. Most platforms get this right, yet still many cargo-cult program, and assume that they always need specifying to the L2 cache code. Remove them so we can find out which really need this. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-exynos/exynos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index e6828fb46034..a51bf25e7523 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -32,9 +32,6 @@
#include "mfc.h"
#include "regs-pmu.h"
-#define L2_AUX_VAL 0x3c470001
-#define L2_AUX_MASK 0xc200ffff
-
static struct map_desc exynos4_iodesc[] __initdata = {
{
.virtual = (unsigned long)S3C_VA_SYS,
@@ -323,7 +320,7 @@ static int __init exynos4_l2x0_cache_init(void)
{
int ret;
- ret = l2x0_of_init(L2_AUX_VAL, L2_AUX_MASK);
+ ret = l2x0_of_init(0x3c400001, 0xc20fffff);
if (ret)
return ret;