]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwbimage: Explicitly set version also for kwbimage v0
authorPali Rohár <pali@kernel.org>
Mon, 8 Nov 2021 17:12:42 +0000 (18:12 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Nov 2021 11:08:06 +0000 (12:08 +0100)
commit01bdac6df6815b9f0b5d69b7e0b543923cfe4c15
treeaa40de87efc45574afbc704ca4abb33132066116
parent12f2c03f4d1f7a7ef768f3358b0326cd8af54509
tools: kwbimage: Explicitly set version also for kwbimage v0

For documentation purposes update struct main_hdr_v0 to include information
where version of the image must be stored. For kwbimage v0 it obviously
must be 0. By default all image header memory is initialized to zero,
therefore this change has no functional effect.

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
tools/kwbimage.h