[PATCH] spl: spl-nor: return error if no valid image was loaded

Tom Rini trini at konsulko.com
Tue Jun 20 20:15:41 CEST 2023


On Mon, 30 Jan 2023 10:21:43 +0100, Mario Kicherer wrote:

> If only FIT images are enabled and loading the FIT image fails,
> spl_nor_load_image() should return an error instead of zero.
> 
> Without this patch:
> 
> >>SPL: board_init_r()
> spl_init
> Trying to boot from NOR
> Unsupported OS image.. Jumping nevertheless..
> image entry point: 0x0
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom



More information about the U-Boot mailing list