]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: hab: Enable hab.c to authenticate additional images in open configuration
authorBreno Lima <breno.lima@nxp.com>
Thu, 25 Mar 2021 09:30:10 +0000 (17:30 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
commit1d756add3c478f3fe79ed36aa86b2447949879b3
tree60a62eeca4ef76c66c4d16329c1365b3904a3230
parent1dc295148a93bc5b856b8b964079b54ea7f29514
imx: hab: Enable hab.c to authenticate additional images in open configuration

Currently it's not possible to authenticate additional boot images in HAB
open configuration.

The hab.c code is checking if the SEC_CONFIG[1] fuse is programmed prior
to calling the hab_authenticate_image() API function. Users cannot check
if their additional boot images has been correctly signed prior to closing
their device.

Enable hab.c to authenticate additional boot images in open mode so HAB
events can be retrieved through get_hab_status() function.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/hab.c