commit | f217470b392806be340e9c03d46e98bb29d7caec | [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 | cd8355664db363768b672f9a362044e2db9bd86c [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>