]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: kwboot: Fix handling of repeated xmodem packets
authorPali Rohár <pali@kernel.org>
Tue, 25 Jan 2022 17:13:05 +0000 (18:13 +0100)
committerStefan Roese <sr@denx.de>
Mon, 31 Jan 2022 09:23:38 +0000 (10:23 +0100)
commit5875ad48e2c5119c629da3751c49ad5e3f0c96b0
treefca188294bb6a468d384d3576adad47fa595f82d
parent950ed24d231fce2bf1a9c48748b35944c479aa48
tools: kwboot: Fix handling of repeated xmodem packets

Unfortunately during some stages of xmodem transfer, A385 BootROM is not
able to handle repeated xmodem packets. So if an error occurs during that
stage, stop the transfer and return failure.

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/kwboot.c