mbox series

[v2,0/3] rcar: Select the correct device tree

Message ID 20230612195107.171748-1-detlev.casanova@collabora.com
Headers show
Series rcar: Select the correct device tree | expand

Message

Detlev Casanova June 12, 2023, 7:51 p.m. UTC
The R-Car Starter Kit Premier(H3e WS3.0) uses the r8a779m1-ulcb.dtb.
As u-boot can detect the board id and revision, let's use this to set
the correct device tree for that board when using pxe.

Changes since v1:
 * Also expose the board revision in sysinfo
 * Set the dtb depending on board revision
 * Move RCar board IDs definitions to sys_proto.h
 * fix checkpatch.pl warnings

Detlev Casanova (3):
  renesas: rcar3: Expose the board id in sysinfo
  renesas: rcar3: Expose the board revision in sysinfo
  renesas: rcar3: Load the correct device tree

 .../arm/mach-rmobile/include/mach/sys_proto.h | 21 +++++
 board/renesas/ulcb/ulcb.c                     | 59 ++++++++++++
 configs/rcar3_ulcb_defconfig                  |  1 +
 drivers/sysinfo/rcar3.c                       | 90 +++++++++++--------
 4 files changed, 133 insertions(+), 38 deletions(-)