]> git.baikalelectronics.ru Git - uboot.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)
commitbd115ac4ea05c747b83e3a6bfd44eed4ba9b4190
treefc5d2a3e877d5c5a09dab2b6b166be5dad19f9c9
parent020d484f2eb57584ed273002a4cb815d740d3746
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