[PATCH v4 0/2] imx: hab: Make imx_hab_is_enabled dependent on FIELD_RETURN
Paul Geurts
paul.geurts at prodrive-technologies.com
Fri Nov 1 09:49:19 CET 2024
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
v3:
- Fixed support for i.MX8M Plus, which has a fuse pattern
v4:
- Dropped the _t suffix from the struct imx_fuse_t
- Processed v3 comments
More information about the U-Boot
mailing list