]> git.baikalelectronics.ru Git - uboot.git/commit
tools: imx8mimage: Keep IVT reserved1 field zero always
authorMarek Vasut <marex@denx.de>
Wed, 29 Jun 2022 15:16:37 +0000 (17:16 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 13:35:34 +0000 (15:35 +0200)
commite631b95740a2878d82bdb2450de3311678fa22bc
tree861e7e3697a125d0aa51e4fbb0ad38140d8369ef
parent08111b76196bebe68beabc34cb63dd9f015ccd20
tools: imx8mimage: Keep IVT reserved1 field zero always

Since 1931a35cb55 ("imx: HAB: Validate IVT before authenticating image")
the U-Boot HAB implementation is checking whether reserved1 field in IVT
is zero or not. In case the field is not zero, IVT validation fails. Stop
setting IVT reserved1 field to non-zero in mkimage imx8m plugin, otherwise
the validation cannot ever work.

Note that this only affects legacy boards which do not use binman.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
tools/imx8mimage.c