diff options
author | Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> | 2014-08-11 11:59:42 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-04 13:05:57 -0400 |
commit | 1c4044ae4a6030174e8e4eb0aa5b1017c732aadf (patch) | |
tree | 1616d57e21aaba6c61f6bb66da9acec0dd636e43 /arch/arm/cpu | |
parent | d6c1ffc7d23f4fe4ae8c91101861055b8e1501b6 (diff) | |
download | u-boot-imx-1c4044ae4a6030174e8e4eb0aa5b1017c732aadf.zip u-boot-imx-1c4044ae4a6030174e8e4eb0aa5b1017c732aadf.tar.gz u-boot-imx-1c4044ae4a6030174e8e4eb0aa5b1017c732aadf.tar.bz2 |
ARM: keystone: clock: use correct BWADJ field mask for PASSPLLCTL0
The mask for BWADJ field of PASSPLLCTL0 register has to be 0xff, but
by mistake, here is used shift instead of mask, so correct it.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/armv7/keystone/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/keystone/clock.c b/arch/arm/cpu/armv7/keystone/clock.c index 30d76a6..47fc893 100644 --- a/arch/arm/cpu/armv7/keystone/clock.c +++ b/arch/arm/cpu/armv7/keystone/clock.c @@ -174,7 +174,7 @@ void init_pll(const struct pll_init_data *data) * bypass disabled */ bwadj = pllm >> 1; - tmp |= ((bwadj & PLL_BWADJ_LO_SHIFT) << PLL_BWADJ_LO_SHIFT) | + tmp |= ((bwadj & PLL_BWADJ_LO_MASK) << PLL_BWADJ_LO_SHIFT) | (pllm << PLL_MULT_SHIFT) | (plld & PLL_DIV_MASK) | (pllod << PLL_CLKOD_SHIFT); |