console: Hide global console_loglevel
Change-Id: I7bdc468bc3f74516abb2c583bdb5b6d7555d987c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5333 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
committed by
Patrick Georgi
parent
b2d2596714
commit
56ae13983b
@ -18,9 +18,8 @@ int do_printk(int msg_level, const char *fmt, ...)
|
||||
va_list args;
|
||||
int i;
|
||||
|
||||
if (msg_level > console_loglevel) {
|
||||
if (!console_log_level(msg_level))
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if CONFIG_SQUELCH_EARLY_SMP && defined(__PRE_RAM__)
|
||||
if (!boot_cpu())
|
||||
|
Reference in New Issue
Block a user