]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
ARM: uniphier: set active ways to really enable outer cache
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 17 Jan 2016 01:13:19 +0000 (10:13 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 19 Jan 2016 23:40:11 +0000 (08:40 +0900)
Each way must be unlocked to make it effective.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/cache_uniphier.c

index 8435a3300a4626f1cbccd46ee8c4fb091d3bf622..43981146585ef904532dcca904a03e570cb43c55 100644 (file)
@@ -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);