diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2021-09-15 14:36:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-05 13:51:11 +0200 |
commit | 87ed07a0022f0bc202be38abf4a748b5b12edf9a (patch) | |
tree | 495bc3e95508dcf5859a961165f9230001b46072 /include | |
parent | 230f7d9321b82d721ab4665a52a0c37d37ab45d9 (diff) | |
download | barebox-87ed07a0022f0bc202be38abf4a748b5b12edf9a.tar.gz barebox-87ed07a0022f0bc202be38abf4a748b5b12edf9a.tar.xz |
console: add new CONFIG_CONSOLE_DISABLE_INPUT option
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>
Tested-by: Christian Melki <christian.melki@t2data.com>
Link: https://lore.barebox.org/20210915123644.1292607-1-ahmad@a3f.at
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/console.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h index a71d0da42e..5d5783ca66 100644 --- a/include/console.h +++ b/include/console.h @@ -18,6 +18,8 @@ #define CONSOLE_STDOUT (1 << 1) #define CONSOLE_STDERR (1 << 2) +#define CONSOLE_STDIOE (CONSOLE_STDIN | CONSOLE_STDOUT | CONSOLE_STDERR) + enum console_mode { CONSOLE_MODE_NORMAL, CONSOLE_MODE_RS485, |