tools: pblimage: fix image header verification function
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 17 Feb 2022 03:51:36 +0000 (11:51 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 28 Feb 2022 06:31:02 +0000 (12:01 +0530)
commit2058967d2fe8f93142d774bc47241d80894027d5
tree6211b7cd5d8f7d8b89a6c5cace9cb701dbdcaec6
parent453db6056850e1ac1be0a12df72fcf3bd5f61bd3
tools: pblimage: fix image header verification function

The Layerscape platforms have different RCW header value from FSL
PowerPC platforms, the current image header verification callback
is only working on PowerPC, it will fail on Layerscape, this patch
is to fix this issue.

This is a historical problem and exposed by the following patch:
http://patchwork.ozlabs.org/project/uboot/patch/20220114173443.9877-1-pali@kernel.org

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Makefile
tools/pblimage.c
tools/pblimage.h