[PATCH 3/3] arm: rmobile: rzg2_beacon: Auto select Linux device tree by SoC

Marek Vasut marex at denx.de
Thu Oct 26 08:40:29 CEST 2023


On 10/26/23 01:13, Adam Ford wrote:
> There is a function inside the board file to autodetect which device
> tree is needed by U-Boot to properly load its own device tree, but
> it currently defaults to always loading RZ/G2M for Linux.  This is
> not correct for other SoC variants.  Add board_late_init function
> to query the SoC name and use that to determine which device tree
> is loaded for booting Linux.

Can't this be scripted in environment instead ?


More information about the U-Boot mailing list