]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Properly finish xmodem transfer
authorPali Rohár <pali@kernel.org>
Fri, 24 Sep 2021 21:06:54 +0000 (23:06 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Oct 2021 09:07:13 +0000 (11:07 +0200)
commite8d90bf664f86be3189100949572d3c30d078785
tree146e3bc5ca4be43d387f23ba27f82088160bc733
parent67fcd2b8d7373c8b9215f3ea5f960523d8fbd23a
tools: kwboot: Properly finish xmodem transfer

After kwboot sends EOT, BootROM sends back ACK. Add code for handling
this and retry sending EOT on error.

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