Merge patch series "Fixes, cleanup and a test for the SPL FIT "full" loader"

Francesco Valla <francesco@valla.it> says:

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, 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).

Link: https://lore.kernel.org/r/20260604-spl_fit_full_cleanup-v1-0-ec036b5872e2@valla.it
This commit is contained in:
Tom Rini
2026-06-17 14:25:13 -06:00
5 changed files with 81 additions and 30 deletions
+11
View File
@@ -21,3 +21,14 @@ static int spl_test_load(struct unit_test_state *uts)
}
SPL_TEST(spl_test_load, 0);
static int spl_test_load_fit_full(struct unit_test_state *uts)
{
struct spl_image_info image;
char fname[256];
ut_assertok(sandbox_spl_load_fit_full(fname, sizeof(fname), &image));
return 0;
}
SPL_TEST(spl_test_load_fit_full, 0);