diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-07 08:51:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-07 08:51:11 +0200 |
commit | ab7647dbd8aa54fcb0178829ac9e5fccb053d4ef (patch) | |
tree | 907492c209e5639af4faac074df9939f78aa078d /common/startup.c | |
parent | b06ef2e54303443d21dd98a773a13289e66812fb (diff) | |
parent | 6fb511fa62efe3faa8be67800cd934c143405fca (diff) | |
download | barebox-ab7647dbd8aa54fcb0178829ac9e5fccb053d4ef.tar.gz |
Merge branch 'for-next/misc'
Diffstat (limited to 'common/startup.c')
-rw-r--r-- | common/startup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/startup.c b/common/startup.c index 871696968a..f72902fc53 100644 --- a/common/startup.c +++ b/common/startup.c @@ -241,6 +241,11 @@ enum autoboot_state do_autoboot_countdown(void) if (autoboot_state != AUTOBOOT_UNKNOWN) return autoboot_state; + if (IS_ENABLED(CONFIG_CONSOLE_DISABLE_INPUT)) { + printf("\nNon-interactive console, booting system\n"); + return autoboot_state = AUTOBOOT_BOOT; + } + if (global_autoboot_state != AUTOBOOT_COUNTDOWN) return global_autoboot_state; |