summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-01-25 18:13:04 +0100
committerStefan Roese <[email protected]>2022-01-31 10:23:38 +0100
commit950ed24d231fce2bf1a9c48748b35944c479aa48 (patch)
tree128dbfc2ea6ba6aa3ee138807f1d6bf34b4392b3 /scripts
parent94c906a0ddde2481a4fd0b743400c191fb451621 (diff)
tools: kwboot: Do not change received character in kwboot_xm_recv_reply()
Marvell BootROM expects retransmission of previous xmodem packet only in the case when it sends NAK response to the host. Do not change non-xmodem response (possibly UART transfer error) to NAK in kwboot_xm_recv_reply() function. Allow caller to receive original response from device. Change argument 'nak_on_non_xm' to 'stop_on_non_xm'. Instead of changing non-xmodem character to NAK, stop processing on invalid character and return it. Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Marek Behún <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions