ARM: l2c: imx: remove direct write to power control register
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Mar 2014 14:36:38 +0000 (14:36 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 May 2014 23:49:22 +0000 (00:49 +0100)
Now that we handle this in core code, we don't need platforms enabling
the low power modes directly.

Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-imx/system.c

index 59013a81107b62d6cbc136ce30c918426d8e075b..3b0733edb68c2ab30e93cfd60becd1a221ffa5f8 100644 (file)
@@ -138,8 +138,6 @@ void __init imx_init_l2cache(void)
        if (cpu_is_imx6q())
                val &= ~(1 << 30 | 1 << 23);
        writel_relaxed(val, l2x0_base + L310_PREFETCH_CTRL);
-       val = L310_DYNAMIC_CLK_GATING_EN | L310_STNDBY_MODE_EN;
-       writel_relaxed(val, l2x0_base + L310_POWER_CTRL);
 
        iounmap(l2x0_base);
        of_node_put(np);
This page took 0.030064 seconds and 5 git commands to generate.