[PATCH v3 6/8] common: add AUTOBOOT_FLUSH_STDIN option

Simon Glass sjg at chromium.org
Sat Jun 26 20:32:04 CEST 2021


On Mon, 21 Jun 2021 at 14:24, Steffen Jaeckel
<jaeckel-floss at eyet-services.de> wrote:
>
> The key-sequence based unlock mechanisms are sensitive to junk symbols
> that could have been sent to stdin and are still waiting to be retrieved.
> Enabling this option will read all symbols off stdin before displaying the
> autoboot prompt (and starting to read the password from stdin).
>
> Signed-off-by: Steffen Jaeckel <jaeckel-floss at eyet-services.de>
> ---
>
> (no changes since v1)
>
>  common/Kconfig.boot |  9 +++++++++
>  common/autoboot.c   | 11 +++++++++++
>  2 files changed, 20 insertions(+)

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


More information about the U-Boot mailing list