diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-02-19 19:08:11 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-02-19 19:08:11 +0000 |
commit | 8e9234ffff5730df6a498fae6cfaf5c0ee101c5b (patch) | |
tree | 2e03670556aa79ee62c56ba7c0bb6ccc47c96326 /util/x86emu/yabel/debug.h | |
parent | 99f75793c1efbce8e0cde24d811ed1789a257604 (diff) |
1. Change CONFIG_DEBUG to DEBUG in util/x86emu/*
2. Make DEBUG depend on CONFIG_YABEL_DEBUG_FLAGS being nonzero
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5131 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/x86emu/yabel/debug.h')
-rw-r--r-- | util/x86emu/yabel/debug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/x86emu/yabel/debug.h b/util/x86emu/yabel/debug.h index 484a0f7ade..92e78782c3 100644 --- a/util/x86emu/yabel/debug.h +++ b/util/x86emu/yabel/debug.h @@ -69,9 +69,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) @@ -103,7 +103,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); |