
26 Oct
2023
26 Oct
'23
8:40 a.m.
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 ?