]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwboot: Fix detection of quit esc sequence
authorPali Rohár <pali@kernel.org>
Thu, 3 Feb 2022 16:45:20 +0000 (17:45 +0100)
committerStefan Roese <sr@denx.de>
Thu, 10 Feb 2022 06:12:16 +0000 (07:12 +0100)
commitc0b6d92933a82961d31eb79b9088b51b8f6cbf49
tree02b153c6d81f358d2658284ed4bbcb9ce4af4f8a
parentb5f9f5f19a5c14a8900ccf31c5903994bb351a24
tools: kwboot: Fix detection of quit esc sequence

Quit esc sequence may be also in the middle of the read buffer.
Fix the detection for that case.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwboot.c