Add CONFIG_BIOSEMU define to guard all the bios emulator code
[platform/kernel/u-boot.git] / drivers / bios_emulator / x86emu / decode.c
index 1e2dcfe..879f0a0 100644 (file)
@@ -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