]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwboot: Do not modify kwbimage header before increasing its size
authorPali Rohár <pali@kernel.org>
Mon, 25 Oct 2021 13:13:01 +0000 (15:13 +0200)
committerStefan Roese <sr@denx.de>
Wed, 3 Nov 2021 05:45:27 +0000 (06:45 +0100)
commite511cc3b1ad8ced8e18464edf22f5b8a83ec1cb3
tree1be7aa70fb317c5073cd70805b776570acee4a18
parented792c2938331a68f4b271a6d4d0250057449608
tools: kwboot: Do not modify kwbimage header before increasing its size

This ensures that kwboot_img_grow_hdr() function still sees valid kwbimage
header.

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