[U-Boot] [U-Boot, v4, 32/66] rockchip: rk3368: grf: use shifted-constants

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Sun Aug 6 17:18:13 UTC 2017


> The RK3368 GRF header was still defines with a shifted-mask but with
> non-shifted function selectors for the IOMUX defines.  As the RK3368
> support is still fresh enough to allow a quick change, we do this now
> before having more code use this.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v4:
> - restore the symbolic constant for the shift-values in the IOMUX
>   enums
> 
> Changes in v3: None
> Changes in v2:
> - dropped the RK3368_ prefix for the GRF constants
> 
>  arch/arm/include/asm/arch-rockchip/grf_rk3368.h | 413 ++++++++++++++----------
>  drivers/pinctrl/rockchip/pinctrl_rk3368.c       |   9 +-
>  2 files changed, 242 insertions(+), 180 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list