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

Simon Glass sjg at chromium.org
Sat Aug 26 13:38:16 UTC 2017


On 14 August 2017 at 11:05, Philipp Tomsich
<philipp.tomsich at theobroma-systems.com> wrote:
> 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(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list