summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/x86emu/debug.c
diff options
context:
space:
mode:
authorJason Jin <Jason.jin@freescale.com>2007-08-08 00:33:11 (GMT)
committerWolfgang Denk <wd@denx.de>2007-08-09 21:24:15 (GMT)
commitce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6 (patch)
treedbd86b1fa34958310c5b26336dc996899ec0fc78 /drivers/bios_emulator/x86emu/debug.c
parented8106433522f2ea8933e9808346860d061d7731 (diff)
downloadu-boot-fsl-qoriq-ce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6.tar.xz
Add CONFIG_BIOSEMU define to guard all the bios emulator code
Signed-off-by: Jason Jin <Jason.jin@freescale.com> This patch fix the compile issue on the board that did not enable the bios emulator
Diffstat (limited to 'drivers/bios_emulator/x86emu/debug.c')
-rw-r--r--drivers/bios_emulator/x86emu/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/debug.c b/drivers/bios_emulator/x86emu/debug.c
index 0f58a69..915739c 100644
--- a/drivers/bios_emulator/x86emu/debug.c
+++ b/drivers/bios_emulator/x86emu/debug.c
@@ -40,6 +40,8 @@
#include "x86emu/x86emui.h"
#include <stdarg.h>
+#if defined(CONFIG_BIOSEMU)
+
/*----------------------------- Implementation ----------------------------*/
#ifdef DEBUG
@@ -459,3 +461,5 @@ void x86emu_dump_xregs(void)
printk("NC ");
printk("\n");
}
+
+#endif