diff options
author | Masahiro Yamada | 2016-01-17 10:13:19 +0900 |
---|---|---|
committer | Masahiro Yamada | 2016-01-20 08:40:11 +0900 |
commit | d649fb8aef5b2add04455e78ff6afc8692f3ac74 (patch) | |
tree | 993c50d709638a42d2f7d8314ec5e7bd1099bb3e | |
parent | 6d95778283e239bce0ed2c2c466823a1404f7948 (diff) |
ARM: uniphier: set active ways to really enable outer cache
Each way must be unlocked to make it effective.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/arm/mach-uniphier/cache_uniphier.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/cache_uniphier.c b/arch/arm/mach-uniphier/cache_uniphier.c index 8435a3300a4..43981146585 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); |