mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
rockchip: rk3036: sdram: correct setting for pll integer mode
According to rk3036 TRM, should be set to '1' for the pll integer mode, while the '0' means the frac mode. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
731cafecc5
commit
fd1f80aab6
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ static void rkdclk_init(struct rk3036_sdram_priv *priv)
|
|||
DPLL_MODE_SLOW << DPLL_MODE_SHIFT);
|
||||
|
||||
/* use integer mode */
|
||||
rk_clrreg(&pll->con1, 1 << PLL_DSMPD_SHIFT);
|
||||
rk_setreg(&pll->con1, 1 << PLL_DSMPD_SHIFT);
|
||||
|
||||
rk_clrsetreg(&pll->con0,
|
||||
PLL_POSTDIV1_MASK | PLL_FBDIV_MASK,
|
||||
|
|
Loading…
Reference in a new issue