summaryrefslogtreecommitdiffstats
path: root/util/x86emu/yabel/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu/yabel/debug.h')
-rw-r--r--util/x86emu/yabel/debug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/x86emu/yabel/debug.h b/util/x86emu/yabel/debug.h
index 8126262ed9ab..dd088c280120 100644
--- a/util/x86emu/yabel/debug.h
+++ b/util/x86emu/yabel/debug.h
@@ -20,7 +20,7 @@ extern u32 debug_flags;
extern void x86emu_dump_xregs(void);
/* printf is not available in coreboot... use printk */
-#ifdef CONFIG_COREBOOT_V2
+#ifdef COREBOOT_V2
#include <console/console.h>
#else
#include <console.h>
@@ -73,9 +73,9 @@ static inline void set_ci(void) {};
// set to enable tracing of JMPs in x86emu
#define DEBUG_JMP 0x2000
-//#define CONFIG_DEBUG
-//#undef CONFIG_DEBUG
-#ifdef CONFIG_DEBUG
+//#define DEBUG
+//#undef DEBUG
+#ifdef DEBUG
#define CHECK_DBG(_flag) if (debug_flags & _flag)
@@ -107,7 +107,7 @@ static inline void set_ci(void) {};
#define DEBUG_PRINTF_DISK(_x...)
#define DEBUG_PRINTF_PNP(_x...)
-#endif //CONFIG_DEBUG
+#endif //DEBUG
void dump(u8 * addr, u32 len);