[U-Boot] [RFC PATCH 0/4] rockchip: rk3368: fixes to work with 64bit-aware OF_PLATDATA

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Mon Aug 14 17:05:29 UTC 2017


With Simon's series [1] to make dtoc 64bit-aware (i.e. handle
addresses and sizes that occupy 2 cells as 64bit values and use
fdt64_t in the generated datastructures), we need a few adjustments
to the RK3368 support to make the RK3368-uQ7 bootable.

This series has the DMC driver work around some remaining shortcomings
in 'regmap_init_mem_platdata' (by bypassing the function) and removes
some DTS nodes that are not needed in TPL (to work around and issue
in dtoc).

Patch #4 (the DTS change) is a useful cleanup independent of the
remaining series --- this is why it is not marked as RFC.

Note that the remaining uses of 'regmap_init_mem_platdata' work by
a lucky coincidence only (i.e. that we are little-endian and never
need the region-size correct) on the RK3368.

[1] see https://lists.denx.de/pipermail/u-boot/2017-June/295929.html


Philipp Tomsich (4):
  rockchip: clk: rk3368: update for 32/64bit-aware OF_PLATDATA
  rockchip: timer: update for 32/64bit-aware OF_PLATDATA
  rockchip: rk3368: adjust DMC driver for 32/64bit-aware OF_PLATDATA
  rockchip: dts: rk3368: reduce the number of nodes seen in TPL

 arch/arm/dts/rk3368-lion-u-boot.dtsi |  8 ++++----
 drivers/clk/rockchip/clk_rk3368.c    |  2 +-
 drivers/ram/rockchip/dmc-rk3368.c    | 11 ++---------
 drivers/timer/rockchip_timer.c       |  2 +-
 4 files changed, 8 insertions(+), 15 deletions(-)

-- 
2.1.4



More information about the U-Boot mailing list