From: Jan Kiszka <jan.kis...@siemens.com> Only accept SPACE to stop autobooting. This is safer to avoid accidental interruptions on unattended devices.
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- configs/iot2050_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/iot2050_defconfig b/configs/iot2050_defconfig index b5a50d4fa4a..bcbaa92ee89 100644 --- a/configs/iot2050_defconfig +++ b/configs/iot2050_defconfig @@ -36,6 +36,10 @@ CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTSTAGE=y CONFIG_SHOW_BOOT_PROGRESS=y CONFIG_SPL_SHOW_BOOT_PROGRESS=y +CONFIG_AUTOBOOT_KEYED=y +CONFIG_AUTOBOOT_FLUSH_STDIN=y +CONFIG_AUTOBOOT_PROMPT="Hit SPACE to stop autoboot in %d seconds...\n" +CONFIG_AUTOBOOT_STOP_STR=" " CONFIG_BOOTCOMMAND="run start_watchdog; run distro_bootcmd" CONFIG_CONSOLE_MUX=y # CONFIG_DISPLAY_CPUINFO is not set -- 2.35.3