]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Verify supported image version
authorPali Rohár <pali@kernel.org>
Wed, 11 Aug 2021 08:14:14 +0000 (10:14 +0200)
committerStefan Roese <sr@denx.de>
Wed, 1 Sep 2021 06:07:04 +0000 (08:07 +0200)
commitb984056fa696e795625a2f5292859b73176f7713
treee683b10762f0b65b30be9a21081298b9b3bc4be0
parentead4864fa6ccd552b1c2b6941e4b16ed6128b02f
tools: kwbimage: Verify supported image version

Only image versions 0 and 1 are supported. Verify it in
kwbimage_verify_header() function.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.c