On Tue, 24 Nov 2020 at 08:15, Philippe Reynes <[email protected]> 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 <[email protected]> > --- > common/spl/spl_fit.c | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <[email protected]> This should have a test. We have sandbox SPL test support now so it should not be too hard.

