projects
/
oweals
/
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
[oweals/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 0f58a6963f2c43e75a979d122bc14a0a2a0db1e4..915739c5b03f8cad664ff123233c0769360accff 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