Add CONFIG_BIOSEMU define to guard all the bios emulator code
[platform/kernel/u-boot.git] / drivers / bios_emulator / besys.c
index 2a8e1a0..4c4bc8d 100644 (file)
@@ -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