]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Fix calculating size of kwbimage v0 header
authorPali Rohár <pali@kernel.org>
Thu, 17 Feb 2022 09:43:35 +0000 (10:43 +0100)
committerStefan Roese <sr@denx.de>
Thu, 17 Feb 2022 13:17:07 +0000 (14:17 +0100)
commit9a9a2c1acf6d343f943815b561e870b7746701ca
treefc5d2a3e877d5c5a09dab2b6b166be5dad19f9c9
parent3917ec57f71ca8284d8c32deb5037e8779235535
tools: kwbimage: Fix calculating size of kwbimage v0 header

Extended and binary headers are optional and are part of the image header.

Fixes kwboot to determinate correct length of Dove images.

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