From d649fb8aef5b2add04455e78ff6afc8692f3ac74 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 17 Jan 2016 10:13:19 +0900 Subject: ARM: uniphier: set active ways to really enable outer cache Each way must be unlocked to make it effective. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cache_uniphier.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/arm/mach-uniphier/cache_uniphier.c b/arch/arm/mach-uniphier/cache_uniphier.c index 8435a3300a..4398114658 100644 --- a/arch/arm/mach-uniphier/cache_uniphier.c +++ b/arch/arm/mach-uniphier/cache_uniphier.c @@ -134,6 +134,8 @@ void v7_outer_cache_inval_range(u32 start, u32 end) void v7_outer_cache_enable(void) { u32 tmp; + + writel(U32_MAX, SSCLPDAWCR); /* activate all ways */ tmp = readl(SSCC); tmp |= SSCC_ON; writel(tmp, SSCC); -- cgit