]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Fix check for v0 extended header checksum
authorPali Rohár <pali@kernel.org>
Fri, 23 Jul 2021 09:14:01 +0000 (11:14 +0200)
committerStefan Roese <sr@denx.de>
Sat, 31 Jul 2021 07:49:31 +0000 (09:49 +0200)
commitfe2c0e259b88b3cfae8adfad543effa837f3a9bc
tree3965efbd8377c2d4515e1c6f3cb02b55eaad77cc
parent4efbf1c3273788b83dd1f7646d26ce9950e4b4dc
tools: kwbimage: Fix check for v0 extended header checksum

Extended header checksum for v0 image is present only in the case when
extended header is present. Skip checksum validation if extended header
is not present.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
tools/kwbimage.c