Author: stepan Date: Tue Mar 23 16:49:44 2010 New Revision: 5275 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5275
Log: Prepare for using coreboot x86emu in userspace utility "vgabios" Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Joseph Smith joe@settoplinux.org
Modified: trunk/src/devices/oprom/x86emu/debug.h
Modified: trunk/src/devices/oprom/x86emu/debug.h ============================================================================== --- trunk/src/devices/oprom/x86emu/debug.h Tue Mar 23 14:23:40 2010 (r5274) +++ trunk/src/devices/oprom/x86emu/debug.h Tue Mar 23 16:49:44 2010 (r5275) @@ -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" */