diff options
| author | Pali Rohár <[email protected]> | 2021-08-03 16:28:44 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-03 14:32:41 -0400 |
| commit | dffeb400985d3244ce13ca95ad7c18a78ffd207f (patch) | |
| tree | 40d868670757b71fc97cab910df5a31f70907322 /scripts | |
| parent | c97b2557bcd5899cdf7bd57e09379b159f4796c8 (diff) | |
xyz-modem: Allow to cancel transfer also by CTRL+C
Currently it is possible to cancel loadx and loady commands by pressing
CTRL+X (CAN character) at least 3 times quickly.
All other U-Boot commands, including loadb and loads can be cancelled by
CTRL+C. So allow it also in xyz-modem code used by loadx and loady
commands. Implement it by handling CTRL+C (ETX character) in the same way
as CTRL+X (CAN character).
Due to how x/y-modem protocol works, it is required to press
CTRL+C or CTRL+X at least 3 times quickly.
Signed-off-by: Pali Rohár <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
