mbox series

[v2,0/2] imx: hab: Make imx_hab_is_enabled dependent on FIELD_RETURN

Message ID 20240624192803.1484398-1-paul.geurts@prodrive-technologies.com
Headers show
Series imx: hab: Make imx_hab_is_enabled dependent on FIELD_RETURN | expand

Message

Paul Geurts June 24, 2024, 7:28 p.m. UTC
The imx_hab_is_enabled function makes sure SPL and U-Boot only blocks
the boot process when HAB is actually enabled. Currently only the
SEC_CONFIG fuse is checked for this, as this is the fuse that closes
the board for HAB. The Field return fuse however is used to permanently
disable HAB. This fuse is not taken into account.

Take the FIELD_RETURN fuse into account as well when deciding whether
HAB is enabled.

v2:
 - Split up into two commits