[PATCH] common: spl: spl_fit.c: report an error on hash check fail

Tom Rini trini at konsulko.com
Mon Jan 18 14:01:01 CET 2021


On Tue, Nov 24, 2020 at 04:15:05PM +0100, Philippe Reynes wrote:

> When the hash check fails on a loadable image, the SPL/TPL simply
> jump to the next one. This commit changes this behaviour, when the
> hash check fails on a loadable image, the function spl_load_simple_fit
> stops and report an error.
> 
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/212b3d02/attachment.sig>


More information about the U-Boot mailing list