]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwboot: Reserve enough space for patching kwbimage in memory
authorPali Rohár <pali@kernel.org>
Mon, 25 Oct 2021 13:12:54 +0000 (15:12 +0200)
committerStefan Roese <sr@denx.de>
Wed, 3 Nov 2021 05:45:27 +0000 (06:45 +0100)
commit5923ef686a61c7ac15ed990487e4a4fd312ddeec
tree8fd8b3a41ca91d128c62128f31d37e3b3213ba10
parent2ecca3d0d76023f219ac4350b0112cd19fbdda2e
tools: kwboot: Reserve enough space for patching kwbimage in memory

SPI image header and data parts do not have to be aligned to 128 byte
xmodem block size. So reserve additional memory for aligning header part
and additional memory for aligning data part.

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