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>
This commit is contained in:
Martin Roth 2015-07-11 14:01:12 -06:00
parent 403ba7726a
commit 3a391fd20c
1 changed files with 0 additions and 2 deletions

View File

@ -42,10 +42,8 @@
/*---------------------- Macros and type definitions ----------------------*/ /*---------------------- Macros and type definitions ----------------------*/
#ifdef CONFIG_DEFAULT_CONSOLE_LOGLEVEL
/* printf is not available in coreboot... use printk */ /* printf is not available in coreboot... use printk */
#define printf(x...) printk(BIOS_DEBUG, x) #define printf(x...) printk(BIOS_DEBUG, x)
#endif
/* checks to be enabled for "runtime" */ /* checks to be enabled for "runtime" */