From e613d704d12592dfc371d81957a3d83b0742fa7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 12 Feb 2019 14:16:21 +0200 Subject: console: Split loglevel for fast and slow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For fast CBMEM console use minimum BIOS_DEBUG level. For other consoles, Kconfig and/or nvram settings apply. Change-Id: Iff56a0a3182f258200cac80e013957d598cc2130 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31370 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/include/console/console.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/console') diff --git a/src/include/console/console.h b/src/include/console/console.h index 33fe2dfd17..2b02334c8e 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -62,6 +62,8 @@ void do_putchar(unsigned char byte); #define printk(LEVEL, fmt, args...) \ do { do_printk(LEVEL, fmt, ##args); } while (0) +enum { CONSOLE_LOG_NONE = 0, CONSOLE_LOG_FAST, CONSOLE_LOG_ALL }; + #if IS_ENABLED(CONFIG_CONSOLE_OVERRIDE_LOGLEVEL) /* * This function should be implemented at mainboard level. -- cgit v1.2.3