]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Fix validation of kwbimage v0
authorPali Rohár <pali@kernel.org>
Mon, 8 Nov 2021 17:12:44 +0000 (18:12 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Nov 2021 11:08:06 +0000 (12:08 +0100)
commit700ea98b2e364a8107a9af962ba39f2eeadfc678
tree66f1ee4a7d1dc4391cd38f79b3f41e965e7bdb7f
parentd1547b367267020a48bc95ed1f00a0c58de278b9
tools: kwbimage: Fix validation of kwbimage v0

kwbimage v0 sldo has 32-bit data checksum at the end like kwbimage v1.

Use same data checksum validation for both v0 and v1 image types.

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