summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/console/init.c b/src/console/init.c
index 89f908f0c6..8f71b09881 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -35,8 +35,7 @@ static int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL;
static inline int get_log_level(void)
{
- if (!IS_ENABLED(CONFIG_LATE_CBMEM_INIT) &&
- car_get_var(console_inited) == 0)
+ if (car_get_var(console_inited) == 0)
return -1;
if (CONSOLE_LEVEL_CONST)
return get_console_loglevel();
@@ -79,8 +78,7 @@ asmlinkage void console_init(void)
console_hw_init();
- if (!IS_ENABLED(CONFIG_LATE_CBMEM_INIT))
- car_set_var(console_inited, 1);
+ car_set_var(console_inited, 1);
printk(BIOS_NOTICE, "\n\ncoreboot-%s%s %s " ENV_STRING " starting...\n",
coreboot_version, coreboot_extra_version, coreboot_build);