]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 14 Aug 2017 17:05:32 +0000 (19:05 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 18 Sep 2017 18:40:38 +0000 (20:40 +0200)
commitf992955b5a710a0c7d0d6c38eee936b982557159
tree0899c53f97ada9eb9d3d64caad9679f16c9eec62
parentd26554ee57f886d33fa0402bef0a26e427109945
rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA

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@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/ram/rockchip/dmc-rk3368.c