Skip to content

Commit

Permalink
clk: sun6i: Protect SDRAM gating bit
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mripard committed Jun 11, 2014
1 parent 2df73f4 commit efb3184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/sunxi/clk-sunxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,7 @@ CLK_OF_DECLARE(sun7i_a20_clk_init, "allwinner,sun7i-a20", sun5i_init_clocks);

static const char *sun6i_critical_clocks[] __initdata = {
"cpu",
"ahb1_sdram",
};

static void __init sun6i_init_clocks(struct device_node *node)
Expand Down

0 comments on commit efb3184

Please sign in to comment.