From b7f53b2329d468a6efa50c7c1163079d296fbdc3 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 23 Mar 2010 15:49:44 +0000 Subject: Prepare for using coreboot x86emu in userspace utility "vgabios" Signed-off-by: Stefan Reinauer Acked-by: Joseph Smith git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5275 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/oprom/x86emu/debug.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/devices') diff --git a/src/devices/oprom/x86emu/debug.h b/src/devices/oprom/x86emu/debug.h index 7aac995cc3..ba180bab40 100644 --- a/src/devices/oprom/x86emu/debug.h +++ b/src/devices/oprom/x86emu/debug.h @@ -42,8 +42,10 @@ /*---------------------- Macros and type definitions ----------------------*/ +#ifdef CONFIG_DEFAULT_CONSOLE_LOGLEVEL /* printf is not available in coreboot... use printk */ #define printf(x...) printk(BIOS_DEBUG, x) +#endif /* checks to be enabled for "runtime" */ -- cgit v1.2.3