tools: kwbimage: Fill the real header size into the main header
authorPali Rohár <pali@kernel.org>
Mon, 8 Nov 2021 17:12:49 +0000 (18:12 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Nov 2021 11:08:06 +0000 (12:08 +0100)
commit2b0980c24027ee00987b04c0c4dc18546a704c84
treebe6cb6e17f57b5da73262ea7f84a63db5459bd79
parent5cad2e6ccee1e5a53107dd6c74c60a6d0da46690
tools: kwbimage: Fill the real header size into the main header

Fill the real header size without padding into the main header

This allows to reduce final image when converting image to another format
which does not need additional padding.

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