diff options
author | Jason Jin <Jason.jin@freescale.com> | 2007-08-08 00:33:11 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-09 21:24:15 (GMT) |
commit | ce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6 (patch) | |
tree | dbd86b1fa34958310c5b26336dc996899ec0fc78 /drivers/bios_emulator/besys.c | |
parent | ed8106433522f2ea8933e9808346860d061d7731 (diff) | |
download | u-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/besys.c')
-rw-r--r-- | drivers/bios_emulator/besys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c index 2a8e1a0..4c4bc8d 100644 --- a/drivers/bios_emulator/besys.c +++ b/drivers/bios_emulator/besys.c @@ -49,6 +49,7 @@ #include "biosemui.h" +#if defined(CONFIG_BIOSEMU) /*------------------------- Global Variables ------------------------------*/ #ifndef __i386__ @@ -717,3 +718,4 @@ void X86API BE_outl(X86EMU_pioAddr port, u32 val) #endif LOG_outpd(port, val); } +#endif |