diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-05-09 23:33:41 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-06-11 04:25:02 -0400 |
commit | efb3184c08927c54ed984c85f69f54ff1dbd2c37 (patch) | |
tree | 76744426417f44ec734ebec47c6add1889d3a066 /drivers/clk | |
parent | 2df73f40dc5af46eabcc3f144d19842cd69361cd (diff) |
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 <maxime.ripard@free-electrons.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/sunxi/clk-sunxi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index f76f2327e0e4..fb2ce8440f0e 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c | |||
@@ -1227,6 +1227,7 @@ CLK_OF_DECLARE(sun7i_a20_clk_init, "allwinner,sun7i-a20", sun5i_init_clocks); | |||
1227 | 1227 | ||
1228 | static const char *sun6i_critical_clocks[] __initdata = { | 1228 | static const char *sun6i_critical_clocks[] __initdata = { |
1229 | "cpu", | 1229 | "cpu", |
1230 | "ahb1_sdram", | ||
1230 | }; | 1231 | }; |
1231 | 1232 | ||
1232 | static void __init sun6i_init_clocks(struct device_node *node) | 1233 | static void __init sun6i_init_clocks(struct device_node *node) |