From dc23c95d2fa52453a3333c9cb91a82ab7372985c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 27 Aug 2009 22:36:13 +0000 Subject: [PATCH] For Carl-Daniel: make x86emu silent again. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4603 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/x86emu/include/x86emu/x86emu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/x86emu/include/x86emu/x86emu.h b/util/x86emu/include/x86emu/x86emu.h index a4b09e3f18..823f49772b 100644 --- a/util/x86emu/include/x86emu/x86emu.h +++ b/util/x86emu/include/x86emu/x86emu.h @@ -47,6 +47,9 @@ #include #undef printk #define printk(x...) do_printk(BIOS_DEBUG, x) +#if defined(CONFIG_DEBUG) && (CONFIG_DEBUG == 0) +#undef CONFIG_DEBUG +#endif #else #define printk printf #endif