aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-19 08:47:58 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-05-29 19:50:21 -0400
commitc59917f877ae9b94d4ba146600c763ed6ae97a1b (patch)
treec5654621bc0902d86907100832ab6dc1d2b9ea56
parentc4a202c8ae001e7154a5fe22b64f751d37da2122 (diff)
ARM: l2c: ux500: don't try to change the L2 cache auxiliary control register
ux500 can't change the auxiliary control register, so there's no point passing values to try and modify it to the l2x0 init functions. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-ux500/cache-l2x0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/cache-l2x0.c b/arch/arm/mach-ux500/cache-l2x0.c
index 5b891d051054..842ebedbdd1c 100644
--- a/arch/arm/mach-ux500/cache-l2x0.c
+++ b/arch/arm/mach-ux500/cache-l2x0.c
@@ -57,9 +57,9 @@ static int __init ux500_l2x0_init(void)
57 outer_cache.write_sec = ux500_l2c310_write_sec; 57 outer_cache.write_sec = ux500_l2c310_write_sec;
58 58
59 if (of_have_populated_dt()) 59 if (of_have_populated_dt())
60 l2x0_of_init(0x3e000000, 0xc00f0fff); 60 l2x0_of_init(0, ~0);
61 else 61 else
62 l2x0_init(l2x0_base, 0x3e000000, 0xc00f0fff); 62 l2x0_init(l2x0_base, 0, ~0);
63 63
64 return 0; 64 return 0;
65} 65}