]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: clk: rk3128: fix NANDC_PLL_SEL_MASK
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 1 Dec 2017 23:14:55 +0000 (00:14 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 1 Dec 2017 23:27:31 +0000 (00:27 +0100)
commitcd401abcd532c59cdaaf6ffeed762386c1813e58
treec2ab05cdd59390fa3f7fccecdbdb8036a1472ce3
parent5f104178bf713615dc404fdfcf0fb53d89c66a07
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>
arch/arm/include/asm/arch-rockchip/cru_rk3128.h