Skip to content

Commit efb3184

Browse files
committed
clk: sun6i: Protect SDRAM gating bit
Prevent the SDRAM controller from being gated by force-enabling it in the machine code. Signed-off-by: Maxime Ripard <[email protected]> Acked-by: Mike Turquette <[email protected]> Signed-off-by: Emilio López <[email protected]>
1 parent 2df73f4 commit efb3184

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/sunxi/clk-sunxi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,6 +1227,7 @@ CLK_OF_DECLARE(sun7i_a20_clk_init, "allwinner,sun7i-a20", sun5i_init_clocks);
12271227

12281228
static const char *sun6i_critical_clocks[] __initdata = {
12291229
"cpu",
1230+
"ahb1_sdram",
12301231
};
12311232

12321233
static void __init sun6i_init_clocks(struct device_node *node)

0 commit comments

Comments
 (0)