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

2021-01-18 Thread Tom Rini
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 e

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

2020-11-30 Thread Simon Glass
On Tue, 24 Nov 2020 at 08:15, 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. > >

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

2020-11-24 Thread Philippe Reynes
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 --- common/spl/spl_fit.c | 7 +