Hello,

this patch set contains a collection of small fixes and cleanups for the
"full" FIT loader that can be used for the SPL. The main beneficiary is
the falcon boot flow, but the same loader can be used also for U-Boot
proper.

Patch 1 was part of another set [1], but I decided to put it here for a
better separation between plumbing (here) and new features (there).
I kept the Reviewed-by tag collected from Simon in that occasion.

Patch 6 introduces a new unit test covering most of the code that is
being cleaned up.

The set was tested on a i.MX93 FRDM, both with and without signature and
to boot both U-Boot proper and the Linux kernel directly (i.e., falcon
boot).

Thank you.

Regards,
Francesco

Signed-off-by: Francesco Valla <[email protected]>
---
Francesco Valla (6):
      boot: fit: fix FIT verification in SPL
      spl: fit: fix loadables load under sandbox
      spl: fit: rework the FDT load hack
      spl: fit: drop the 'standalone' load attempt
      spl: fit: use CONFIG_IS_ENABLED whenever possible
      test: spl: add unit test for the "full" FIT loader

 arch/sandbox/cpu/spl.c         | 37 +++++++++++++++++++++++++++++++++
 arch/sandbox/include/asm/spl.h | 14 +++++++++++++
 boot/image-fit.c               |  2 +-
 common/spl/spl_fit.c           | 47 ++++++++++++++++--------------------------
 test/image/spl_load_os.c       | 11 ++++++++++
 5 files changed, 81 insertions(+), 30 deletions(-)
---
base-commit: 74007f24a3aca13b70da6a2c098b830ad9e60804
change-id: 20260604-spl_fit_full_cleanup-26b70aacf70d

Best regards,
--  
Francesco Valla <[email protected]>

Reply via email to