projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add CONFIG_BIOSEMU define to guard all the bios emulator code
[platform/kernel/u-boot.git]
/
drivers
/
bios_emulator
/
x86emu
/
debug.c
diff --git
a/drivers/bios_emulator/x86emu/debug.c
b/drivers/bios_emulator/x86emu/debug.c
index
0f58a69
..
915739c
100644
(file)
--- 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