Commit 28ed53f2 authored by Russell King's avatar Russell King
Browse files

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: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 513b9a08
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);