[PATCH v3] spl: allow board_spl_fit_post_load() to fail
Marek Vasut
marex at denx.de
Sun May 31 19:45:05 CEST 2020
On 5/31/20 7:25 PM, Patrick Wildt wrote:
> On i.MX platforms board_spl_fit_post_load() can check the loaded
> SPL image for authenticity using its HAB engine. U-Boot's SPL
> mechanism allows booting images from other sources as well, but
> in the current setup the SPL would just hang if it encounters an
> image that does not pass scrutiny. Allowing the function to return
> an error, allows the SPL to try booting from another source as a
> fallback instead of ending up as a brick.
>
> Signed-off-by: Patrick Wildt <patrick at blueri.se>
Reviewed-by: Marek Vasut <marex at denx.de>
More information about the U-Boot
mailing list