Hi Marek, [Adding Breno]
On Sat, May 30, 2020 at 3:29 PM Marek Vasut <ma...@denx.de> wrote: > > Instead of hang()ing the system and thus disallowing any automated > recovery possibility from a HAB authentication failure, panic() . > The panic() function can be configured to hang() the system after > printing an error message, however the default is to reset the > system instead. > > This allows redundant boot to work correctly. In case the primary > or secondary image cannot be authenticated, the system reboots and > bootrom can try to start the other one. > > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: Fabio Estevam <feste...@gmail.com> > Cc: NXP i.MX U-Boot Team <uboot-...@nxp.com> > Cc: Peng Fan <peng....@nxp.com> > Cc: Stefano Babic <sba...@denx.de> This is a better behavior indeed: Reviewed-by: Fabio Estevam <feste...@gmail.com>