]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Define structures for extended kwbimage v0 headers
authorPali Rohár <pali@kernel.org>
Thu, 17 Feb 2022 09:43:34 +0000 (10:43 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
commit3917ec57f71ca8284d8c32deb5037e8779235535
tree130fadb6f7eeee5bd10e2a5f0b2a94ecc092e0ee
parenta163db9fbaa9004bc461d8b1c6b648c674c25f09
tools: kwbimage: Define structures for extended kwbimage v0 headers

They are used by Marvell Dove 88AP510 BootROM.

After the main header is a list of optional extended headers and after that
is a list of optional binary executable headers. Between each two extended
headers is additional 0x20 byte long padding.

Original Kirkwood SoCs support only one extended header and no binary
executable header.

Extension of struct ext_hdr_v0 is backward compatible with the old
definition. Only reserved[] fields are changed.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.h