summaryrefslogtreecommitdiff
path: root/src/devices/oprom
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom')
-rw-r--r--src/devices/oprom/x86emu/debug.h2
1 files changed, 2 insertions, 0 deletions
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" */