[U-Boot] [U-Boot, RFC, 2/4] rockchip: timer: update for 32/64bit-aware OF_PLATDATA

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Sep 18 18:37:58 UTC 2017


> With dtoc emitting fdt64_t for addresses (and region sizes), the array
> indices for accessing the reg[] array needs to be adjusted.  This
> adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA
> given this new structure layout.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  drivers/timer/rockchip_timer.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list