commit | 7612b9ccadc769a2cef49d29014a965711977f29 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Fri Aug 03 01:52:44 2018 -0700 |
committer | Ye Li <ye.li@nxp.com> | Sun Aug 05 19:50:57 2018 -0700 |
tree | bcdb1a7fd79564020c556322e006f47fae6f9eea | |
parent | d206f0d4fa16c34f6c8d80cf12feddf27e4faee1 [diff] |
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)