From: sbabic at denx.de Date: Tue, 4 Aug 2020 10:52:10 +0200 (CEST) Subject: [PATCH] ARM: imx: hab: panic on authentication failure In-Reply-To: <20200530182900.159874-1-marex@denx.de> Message-ID: <20200804085210.BE7B381B88@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot Team > Cc: Peng Fan > Cc: Stefano Babic > Reviewed-by: Fabio Estevam Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================