]> git.dujemihanovic.xyz Git - u-boot.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)
commit9cdc264e2c6c6f92778145e0fd007d21ea0001c0
tree146e3bc5ca4be43d387f23ba27f82088160bc733
parent819cd3281d9003b950005b22a05978625cb73296
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