aboutsummaryrefslogtreecommitdiff
path: root/dts/Makefile
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-12-27 01:04:38 +0100
committerTom Rini <trini@konsulko.com>2021-01-16 14:49:09 -0500
commit83a287a613f3f50aceaf8f0131402b5093368009 (patch)
treef95b262c278afd8cd26a10b6d0075d482707d5e4 /dts/Makefile
parent976a68a20d366e6497253bad9fe0d7a8e42a611c (diff)
downloadu-boot-83a287a613f3f50aceaf8f0131402b5093368009.zip
u-boot-83a287a613f3f50aceaf8f0131402b5093368009.tar.gz
u-boot-83a287a613f3f50aceaf8f0131402b5093368009.tar.bz2
bootmenu: Allow to quit it via ESC/CTRL+C
When ESC/CTRL+C is pressed interrupt bootmenu and jump into U-Boot console. As the last entry in bootmenu is always U-Boot console just choose the last entry when ESC or CTRL+C is pressed. ESC key is detected when either no other character appears after '\e' within 10ms or when non-'[' appears after '\e'. It is useful when bootmenu is part of boot process and you want to interrupt boot process by scripts which control U-Boot (serial) console. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts/Makefile')
0 files changed, 0 insertions, 0 deletions