Files
u-boot-krane/lib
Gregor HerburgerandTom Rini 2c8fdd7aea console: add console_flush_stdin()
Add a common helper console_flush_stdin() to drain all pending
characters from stdin. This consolidates the open-coded
while (tstc()) getchar() pattern that appeared in multiple places
across the tree.

Signed-off-by: Gregor Herburger <gregor.herburger@linutronix.de>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2026-04-22 14:23:49 -06:00
..
2026-02-11 11:13:47 +02:00
2025-12-04 09:38:58 -06:00
2025-12-04 09:38:58 -06:00
2026-04-21 11:19:49 -06:00