imx8m: Fix image block offset issue in fit hab print

When appending image data as external data, FIT will align the image start
offset to 4bytes. So if a image size is not 4 bytes aligned, the current
print will give wrong offset, and cause csf sign wrong data.
Fix the issue by aliging each image start to 4bytes in this patch.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 0c974f69f3941cd380af1392308ca42a96b242a2)
1 file changed
tree: bcdb1a7fd79564020c556322e006f47fae6f9eea
  1. iMX8dv/
  2. iMX8M/
  3. iMX8QM/
  4. iMX8QX/
  5. src/
  6. COPYING
  7. Makefile
  8. README