From: Masahiro Yamada Date: Sun, 17 Jan 2016 01:13:19 +0000 (+0900) Subject: ARM: uniphier: set active ways to really enable outer cache X-Git-Tag: v2016.03-rc1~272 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d649fb8aef5b2add04455e78ff6afc8692f3ac74;p=u-boot ARM: uniphier: set active ways to really enable outer cache Each way must be unlocked to make it effective. Signed-off-by: Masahiro Yamada --- 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);