diff options
| author | Gregor Herburger <[email protected]> | 2026-04-13 17:24:54 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-04-22 14:23:49 -0600 |
| commit | e973fa5115e40f93bb1425db5b1cc1f3d9b8047d (patch) | |
| tree | dd802fea63d671edf6ae2bcd28d4fab68e15defa /include/linux/device.h | |
| parent | 2c8fdd7aea1d3c6c380ea5b5080147dc7fe9c38f (diff) | |
cli: flush stdin before enabling cli
Currently there is no possibility to flush stdin after autocommands are
executed. If in the bootcmd the stdin is changed, e.g. from nulldev to
serial, it could happen that junk characters sit in the fifo and appear
on the cli.
Add a option to clear stdin before starting the CLI.
Signed-off-by: Gregor Herburger <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions
