]> git.baikalelectronics.ru Git - uboot.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)
commite010e03923d89d30f1fc223c25c2d6a430cdf2fb
treefca188294bb6a468d384d3576adad47fa595f82d
parent9046ce8507d4e1a0ca7b19d696494146e9546998
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