diff options
author | Steffen Jaeckel <jaeckel-floss@eyet-services.de> | 2021-07-08 15:57:37 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-23 13:36:20 -0400 |
commit | 6c0ce6d3ca273f12e1cb4018144bee8e6131d30d (patch) | |
tree | 86f4cc2c0cb94fef6e04267387af8f16e366ed8e /common/Kconfig.boot | |
parent | 1b2d68033be5703bef482498d81e07c19f69084e (diff) | |
download | u-boot-6c0ce6d3ca273f12e1cb4018144bee8e6131d30d.tar.gz u-boot-6c0ce6d3ca273f12e1cb4018144bee8e6131d30d.tar.bz2 u-boot-6c0ce6d3ca273f12e1cb4018144bee8e6131d30d.zip |
common: allow disabling of timeout for password entry
In case a user has to enter a complicated password it is sometimes
desireable to give the user more time than the default timeout.
Enabling this feature will disable the timeout entirely in case the user
presses the <Enter> key before entering any other character.
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Kconfig.boot')
-rw-r--r-- | common/Kconfig.boot | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/Kconfig.boot b/common/Kconfig.boot index fe60ad0171..f9551b206f 100644 --- a/common/Kconfig.boot +++ b/common/Kconfig.boot @@ -860,6 +860,14 @@ config AUTOBOOT_KEYED_CTRLC Setting this variable provides an escape sequence from the limited "password" strings. +config AUTOBOOT_NEVER_TIMEOUT + bool "Make the password entry never time-out" + depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION && CRYPT_PW + help + This option removes the timeout from the password entry + when the user first presses the <Enter> key before entering + any other character. + config AUTOBOOT_STOP_STR_ENABLE bool "Enable fixed string to stop autobooting" depends on AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION |