summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/printk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/console/printk.c b/src/console/printk.c
index 8606bbb5c9..1165226b2a 100644
--- a/src/console/printk.c
+++ b/src/console/printk.c
@@ -49,8 +49,7 @@ int do_vprintk(int msg_level, const char *fmt, va_list args)
{
int i, log_this;
- if (CONFIG(SQUELCH_EARLY_SMP) && ENV_CACHE_AS_RAM &&
- !boot_cpu())
+ if (CONFIG(SQUELCH_EARLY_SMP) && ENV_ROMSTAGE_OR_BEFORE && !boot_cpu())
return 0;
log_this = console_log_level(msg_level);