summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorRussell King2014-03-28 15:36:38 +0100
committerRussell King2014-05-30 01:49:22 +0200
commit28ed53f2227a98fd5af78dfcea28170eadfc991f (patch)
tree32e902df0b10b6e8ae46c650b52358bd5bd336b3 /arch/arm/mach-imx
parentARM: l2c: highbank: convert to generic l2c OF initialisation (diff)
downloadkernel-qcow2-linux-28ed53f2227a98fd5af78dfcea28170eadfc991f.tar.gz
kernel-qcow2-linux-28ed53f2227a98fd5af78dfcea28170eadfc991f.tar.xz
kernel-qcow2-linux-28ed53f2227a98fd5af78dfcea28170eadfc991f.zip
ARM: l2c: imx: remove direct write to power control register
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>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/system.c2
1 files changed, 0 insertions, 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);