mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 13:03:40 +00:00
bf7fa7d561
The ARM TrustedFirmware code for the Renesas RZ/G2L SoC family passes a devicetree blob to the bootloader as an argument in the same was previous R-Car Gen3/Gen4 SoCs. This blob contains a compatible string which can be used to identify the particular SoC we are running on. We do this as reading the DEVID & PRR registers from u-boot is not sufficient to differentiate between the R9A07G044L (RZ/G2L) and R9A07G044C (RZ/G2LC) SoCs. An additional read from offset 0x11861178 is needed but this address is in the OTP region which can only be read from the secure world (i.e. TrustedFirmware). So we have to rely on TrustedFirmware to determine the SoC and pass this information to u-boot via an fdt blob. Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> |
||
---|---|---|
.. | ||
boot0.h | ||
gpio.h | ||
irqs.h | ||
mmc.h | ||
r8a7740-gpio.h | ||
r8a7740.h | ||
r8a7790.h | ||
r8a7791.h | ||
r8a7792.h | ||
r8a7793.h | ||
r8a7794.h | ||
rcar-base.h | ||
rcar-gen3-base.h | ||
rcar-gen4-base.h | ||
rcar-mstp.h | ||
rmobile.h | ||
rzg2l.h | ||
sh_sdhi.h | ||
sys_proto.h |