diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-11-30 11:58:17 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:37 +0100 |
commit | 5af741f1e98457de626f01302138de20c948fd46 (patch) | |
tree | a77fa4b5708c5b5e5534e674073c86f4992e62ad /arch/arm/cpu/armv7/sunxi/dram_sun6i.c | |
parent | d3a96f7a688c63883ed135518a8757b8c57f1f7b (diff) | |
download | u-boot-imx-5af741f1e98457de626f01302138de20c948fd46.zip u-boot-imx-5af741f1e98457de626f01302138de20c948fd46.tar.gz u-boot-imx-5af741f1e98457de626f01302138de20c948fd46.tar.bz2 |
sun6i: Add a sigma_delta_enable paramter to clock_set_pll5()
The sun8i dram code sometimes wants to enable sigma delta mode,
add a parameter to allow this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/dram_sun6i.c')
-rw-r--r-- | arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun6i.c b/arch/arm/cpu/armv7/sunxi/dram_sun6i.c index 61bb8d4..bc6428a 100644 --- a/arch/arm/cpu/armv7/sunxi/dram_sun6i.c +++ b/arch/arm/cpu/armv7/sunxi/dram_sun6i.c @@ -46,7 +46,7 @@ static void mctl_sys_init(void) (struct sunxi_ccm_reg *)SUNXI_CCM_BASE; const int dram_clk_div = 2; - clock_set_pll5(DRAM_CLK * dram_clk_div); + clock_set_pll5(DRAM_CLK * dram_clk_div, false); clrsetbits_le32(&ccm->dram_clk_cfg, CCM_DRAMCLK_CFG_DIV0_MASK, CCM_DRAMCLK_CFG_DIV0(dram_clk_div) | CCM_DRAMCLK_CFG_RST | |