]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwbimage: Do not put final image padding to the image data size
authorPali Rohár <pali@kernel.org>
Mon, 8 Nov 2021 17:12:47 +0000 (18:12 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Nov 2021 11:08:06 +0000 (12:08 +0100)
commit20598de0e3c742b91570c73669e6200bf5759008
tree2c1bc50c7af47ce4e0e551be7b30c97f807afa1d
parentff539dca7ce6e3c5980ed8146a2bdde82ce18cf0
tools: kwbimage: Do not put final image padding to the image data size

This change allows to convert image from one format to another without need
to include unnecessary padding (e.g. when target image format has smaller
alignment requirement as source image format).

Do it by storing real image data size without padding to the kwbimage
header.

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