]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: spl: spl_fit.c: report an error on hash check fail
authorPhilippe Reynes <philippe.reynes@softathome.com>
Tue, 24 Nov 2020 15:15:05 +0000 (16:15 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 19:49:09 +0000 (14:49 -0500)
commitc61b2bf30c090b19cb2e84a7cf6e29de8773a411
tree8271669e621145ca1db045ca17aea4b9a3be3486
parentd2e64d29c44dee6d455f7705dd1cf1af8674ad9a
common: spl: spl_fit.c: report an error on hash check fail

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@softathome.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_fit.c