summaryrefslogtreecommitdiff
path: root/src/device/oprom/x86emu
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2015-07-11 14:01:12 -0600
committerMartin Roth <gaumless@gmail.com>2015-07-12 19:04:48 +0200
commit3a391fd20cb1ec9a5677832ee338639e95d6757a (patch)
treeb5a4c94a380dab2f8b293def1be08623e185709d /src/device/oprom/x86emu
parent403ba7726a0235c7399fec75baa769ca4eacc018 (diff)
downloadcoreboot-3a391fd20cb1ec9a5677832ee338639e95d6757a.tar.xz
x86emu/debug.h: remove #ifdef CONFIG_DEFAULT_CONSOLE_LOGLEVEL
This protection didn't make sense to me - it seems like things would probably break if printf wasn't defined anyway. Change-Id: Ifb6bad46e193b35c13b7ad4946511fec74beff92 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: http://review.coreboot.org/10887 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/device/oprom/x86emu')
-rw-r--r--src/device/oprom/x86emu/debug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/device/oprom/x86emu/debug.h b/src/device/oprom/x86emu/debug.h
index 6858f15b4f..186c16194f 100644
--- a/src/device/oprom/x86emu/debug.h
+++ b/src/device/oprom/x86emu/debug.h
@@ -42,10 +42,8 @@
/*---------------------- 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" */