On Wed, Sep 15, 2021 at 02:36:44PM +0200, Ahmad Fatoum wrote:
> From: Rouven Czerwinski <[email protected]>
> 
> Add CONFIG_CONSOLE_DISABLE_INPUT to initialize the consoles without
> input support, making default bootup effectively non-interactive.
> 
> Signed-off-by: Rouven Czerwinski <[email protected]>
> Signed-off-by: Ahmad Fatoum <[email protected]>
> ---
> v1 is <[email protected]>
> v1 -> v2:
>   - Make it the default for CONSOLE_NONE. This allows skipping
>     count down there early.
>   - rename write-only to disable input. This is arguably clearer
>   - allow re-enabling input on a per console basis. This way
>     e.g. a gpio-key with limited function can be reenabled,
>     but all other consoles have input disabled by default.
>   - add new CONSOLE_STDIOE to make the three bits easier to
>     write as a group.
> ---
>  common/Kconfig          | 11 +++++++++++
>  common/console.c        | 12 +++++++-----
>  common/console_simple.c |  5 ++++-
>  common/startup.c        |  5 +++++
>  include/console.h       |  2 ++
>  5 files changed, 29 insertions(+), 6 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to