[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
Fri Aug 18 16:12:41 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>
> ---
> 
>  drivers/ram/rockchip/dmc-rk3368.c | 11 ++---------
>  1 file changed, 2 insertions(+), 9 deletions(-)
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list