[PATCH 4/5] cmd: allow disabling of timeout for password entry

Simon Glass sjg at chromium.org
Wed Apr 21 09:14:47 CEST 2021


On Tue, 13 Apr 2021 at 10:16, Steffen Jaeckel
<jaeckel-floss at eyet-services.de> wrote:
>
> 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 at eyet-services.de>
> ---
>
>  cmd/Kconfig       | 8 ++++++++
>  common/autoboot.c | 8 +++++++-
>  2 files changed, 15 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

I wonder if we could have some unit tests for this?


- Simon


More information about the U-Boot mailing list