summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-17 10:13:19 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-20 08:40:11 +0900
commitd649fb8aef5b2add04455e78ff6afc8692f3ac74 (patch)
tree993c50d709638a42d2f7d8314ec5e7bd1099bb3e /arch/arm
parent6d95778283e239bce0ed2c2c466823a1404f7948 (diff)
downloadu-boot-imx-d649fb8aef5b2add04455e78ff6afc8692f3ac74.zip
u-boot-imx-d649fb8aef5b2add04455e78ff6afc8692f3ac74.tar.gz
u-boot-imx-d649fb8aef5b2add04455e78ff6afc8692f3ac74.tar.bz2
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-uniphier/cache_uniphier.c2
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 8435a33..4398114 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);