Re: [PATCH v2] console: add new CONFIG_CONSOLE_DISABLE_INPUT option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 15, 2021 at 02:36:44PM +0200, Ahmad Fatoum wrote:
> From: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx>
> 
> Add CONFIG_CONSOLE_DISABLE_INPUT to initialize the consoles without
> input support, making default bootup effectively non-interactive.
> 
> Signed-off-by: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx>
> Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
> ---
> v1 is <20201013075925.2984-1-r.czerwinski@xxxxxxxxxxxxxx>
> 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
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux