diff options
author | Jason Jin <Jason.jin@freescale.com> | 2007-08-08 08:33:11 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-09 23:24:15 +0200 |
commit | ce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6 (patch) | |
tree | dbd86b1fa34958310c5b26336dc996899ec0fc78 /drivers/bios_emulator/x86emu/decode.c | |
parent | ed8106433522f2ea8933e9808346860d061d7731 (diff) | |
download | u-boot-imx-ce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6.zip u-boot-imx-ce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6.tar.gz u-boot-imx-ce981dc857adfc8036ca2f6d5d5a06c2a8aa77d6.tar.bz2 |
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/decode.c')
-rw-r--r-- | drivers/bios_emulator/x86emu/decode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bios_emulator/x86emu/decode.c b/drivers/bios_emulator/x86emu/decode.c index 1e2dcfe..879f0a0 100644 --- a/drivers/bios_emulator/x86emu/decode.c +++ b/drivers/bios_emulator/x86emu/decode.c @@ -39,6 +39,8 @@ #include "x86emu/x86emui.h" +#if defined(CONFIG_BIOSEMU) + /*----------------------------- Implementation ----------------------------*/ /**************************************************************************** @@ -1142,3 +1144,5 @@ unsigned decode_rmXX_address(int mod, int rm) return decode_rm01_address(rm); return decode_rm10_address(rm); } + +#endif |