[PATCH 174/222] ARM: l2c: imx: remove direct write to power control register
Russell King
rmk+kernel at arm.linux.org.uk
Fri Apr 25 04:50:10 PDT 2014
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 at linaro.org>
Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
---
arch/arm/mach-imx/system.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c
index 59013a81107b..3b0733edb68c 100644
--- a/arch/arm/mach-imx/system.c
+++ b/arch/arm/mach-imx/system.c
@@ -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);
--
1.8.3.1
More information about the linux-arm-kernel
mailing list