From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <ahmad@a3f.at>
Cc: barebox@lists.infradead.org,
Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: Re: [PATCH v2] console: add new CONFIG_CONSOLE_DISABLE_INPUT option
Date: Sat, 2 Oct 2021 11:26:20 +0200 [thread overview]
Message-ID: <20211002092620.GG28453@pengutronix.de> (raw)
In-Reply-To: <20210915123644.1292607-1-ahmad@a3f.at>
On Wed, Sep 15, 2021 at 02:36:44PM +0200, Ahmad Fatoum wrote:
> From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
>
> 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@pengutronix.de>
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
> v1 is <20201013075925.2984-1-r.czerwinski@pengutronix.de>
> 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2021-10-02 9:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 12:36 Ahmad Fatoum
2021-09-16 11:48 ` Christian Melki
2021-10-02 9:26 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211002092620.GG28453@pengutronix.de \
--to=sha@pengutronix.de \
--cc=ahmad@a3f.at \
--cc=barebox@lists.infradead.org \
--cc=r.czerwinski@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox