summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-23 15:49:44 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-23 15:49:44 +0000
commitb7f53b2329d468a6efa50c7c1163079d296fbdc3 (patch)
treefb9d8a8162b2b478faaee70c6f2856b3b462533f /src
parentf0aa09b51b1874b8d52574d18a497162eda9cdf5 (diff)
Prepare for using coreboot x86emu in userspace utility "vgabios"
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5275 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-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" */