]> git.ipfire.org Git - people/ms/u-boot.git/commit
secure_boot: change error handler for esbc_validate
authorAneesh Bansal <aneesh.bansal@nxp.com>
Fri, 22 Jan 2016 11:07:28 +0000 (16:37 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 27 Jan 2016 16:13:03 +0000 (08:13 -0800)
commit856b284617eea5688ccf5f4655f8d70ac5ae5fbb
tree513f144ddae57ac65e5d4b617193e7878a014865
parentd0a6d7ce55ec40d23ad96b549d596afd8f70735c
secure_boot: change error handler for esbc_validate

In case of error while executing esbc_validate command, SNVS
transition and issue of reset is required only for secure-boot.
If boot mode is non-secure, this is not required.

Similarly, esbc_halt command which puts the core in Spin Loop
is applicable only for Secure Boot.

Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Acked-by: Ruchika Gupta <ruchika.gupta@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/common/cmd_esbc_validate.c
board/freescale/common/fsl_validate.c