On 2026-11-03T09:53:01+11:00, Nikita Shubin <[email protected]> wrote: > spl: fit: Record loadables to spl_image->fdt_addr > > Record loadables to FDT passed to next boot stage. > > This is required for spl_invoke_opensbi(), for example, which requires > u-boot/kernel load or entry address to fill opensbi_info.next_addr > entry. > > spl_load_simple_fit() does it, make spl_load_fit_image() also capable of > recording loadables into next stage. > > One limitation remains: if the FIT image does not contain an FDT blob, > spl_load_fit_image() will not use gd->fdt_blob as a fallback, > unlike spl_load_simple_fit() which does. > > Signed-off-by: Nikita Shubin <[email protected]> > > common/spl/spl_fit.c | 80 > +++++++++++++++++++++++++++++++++++++++++----------- > 1 file changed, 64 insertions(+), 16 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
