]> Git Repo - J-u-boot.git/commit
ARM: imx: hab: panic on authentication failure
authorMarek Vasut <[email protected]>
Sat, 30 May 2020 18:29:00 +0000 (20:29 +0200)
committerStefano Babic <[email protected]>
Mon, 3 Aug 2020 15:03:57 +0000 (17:03 +0200)
commit1e7a69f661ae792e3e4bdc0156b26d87d089f5db
tree5213be761c5f964b08ddcfa48f73ca242646e125
parent10e959a1ca85c66d877cc2fcab6e1fe49b478b1b
ARM: imx: hab: panic on authentication failure

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 <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP i.MX U-Boot Team <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
arch/arm/mach-imx/spl.c
This page took 0.034112 seconds and 4 git commands to generate.