Message ID | 1315126872-3290-1-git-send-email-linus.walleij@stericsson.com |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c index 44c0867..b03c835 100644 --- a/arch/arm/mm/cache-l2x0.c +++ b/arch/arm/mm/cache-l2x0.c @@ -338,6 +338,10 @@ void __init l2x0_init(void __iomem *base, __u32 aux_val, __u32 aux_mask) writel_relaxed(1, l2x0_base + L2X0_CTRL); } + /* Make sure that I&D is not locked down when starting */ + writel_relaxed(0x0, l2x0_base + L2X0_LOCKDOWN_WAY_D); + writel_relaxed(0x0, l2x0_base + L2X0_LOCKDOWN_WAY_I); + outer_cache.inv_range = l2x0_inv_range; outer_cache.clean_range = l2x0_clean_range; outer_cache.flush_range = l2x0_flush_range;