Skip to content

Commit

Permalink
ARM: l2c: imx: remove direct write to power control register
Browse files Browse the repository at this point in the history
Now that we handle this in core code, we don't need platforms enabling
the low power modes directly.

Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King committed May 29, 2014
1 parent 513b9a0 commit 28ed53f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mach-imx/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 28ed53f

Please sign in to comment.