mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
rockchip: clk: rk3128: fix NANDC_PLL_SEL_MASK
The PLL selector field for NANDC is only 2 bits wide.
This fixes an 'int-overflow on shift' warning.
Fixes: 9246d9e ("rockchip: rk3128: add clock driver")
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
5f104178bf
commit
cd401abcd5
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ enum {
|
|||
|
||||
/* CRU_CLK_SEL2_CON */
|
||||
NANDC_PLL_SEL_SHIFT = 14,
|
||||
NANDC_PLL_SEL_MASK = 7 << NANDC_PLL_SEL_SHIFT,
|
||||
NANDC_PLL_SEL_MASK = 3 << NANDC_PLL_SEL_SHIFT,
|
||||
NANDC_PLL_SEL_CPLL = 0,
|
||||
NANDC_PLL_SEL_GPLL,
|
||||
NANDC_CLK_DIV_SHIFT = 8,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue