summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/i386')
-rw-r--r--payloads/libpayload/arch/i386/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/payloads/libpayload/arch/i386/main.c b/payloads/libpayload/arch/i386/main.c
index 36cfb69bff..19ac6628eb 100644
--- a/payloads/libpayload/arch/i386/main.c
+++ b/payloads/libpayload/arch/i386/main.c
@@ -49,8 +49,9 @@ void start_main(void)
/* Gather system information. */
lib_get_sysinfo();
- /* Set up the consoles. */
- console_init();
+ /* Optionally set up the consoles. */
+ if (!CONFIG_SKIP_CONSOLE_INIT)
+ console_init();
/*
* Any other system init that has to happen before the