summaryrefslogtreecommitdiff
path: root/src/console/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/init.c')
-rw-r--r--src/console/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/console/init.c b/src/console/init.c
index f35dd51beb..0bafdbe3f0 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -72,6 +72,9 @@ asmlinkage void console_init(void)
{
init_log_level();
+ if (IS_ENABLED(CONFIG_DEBUG_CONSOLE_INIT))
+ car_set_var(console_inited, 1);
+
#if IS_ENABLED(CONFIG_EARLY_PCI_BRIDGE)
if (!ENV_SMM && !ENV_RAMSTAGE)
pci_early_bridge_init();