commit | d03a4d397419ac8c3f2022d3ac0dc66d978cc05c | [log] [tgz] |
---|---|---|
author | Breno Lima <breno.lima@nxp.com> | Thu Mar 25 17:30:12 2021 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Thu Apr 08 09:18:29 2021 +0200 |
tree | 49d83c656929031a4e22c713501ac6014e691cc3 | |
parent | 1115beda32e090c8702b0a765248d7c408a688e5 [diff] |
imx: hab: Check if IVT header is HABv4 The HABv4 implementation in ROM checks if HAB major version in IVT header is 4.x. The current implementation in hab.c code is only validating HAB v4.0 and HAB v4.1 and may be incompatible with newer HABv4 versions. Modify verify_ivt_header() function to align with HABv4 implementation in ROM code. 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>