[U-Boot] [U-Boot, RFC, 3/4] rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA

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


> With the new 32/64bit-aware dtoc, the type of reg is fdt64_t and the
> OF_PLATDATA structure layout changes.  This adjusts the DMC driver for
> the RK3368 to track these changes.
> 
> For the time being (i.e. until regmap_init_mem_platdata works for the
> 64bit case), we won't use regmap_init_mem_platdata here and simply
> access of_plat.reg[] directly.
> 
> 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/ram/rockchip/dmc-rk3368.c | 11 ++---------
>  1 file changed, 2 insertions(+), 9 deletions(-)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list