summaryrefslogtreecommitdiff
path: root/util/x86emu/biosemu.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/x86emu/biosemu.c')
-rw-r--r--util/x86emu/biosemu.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/util/x86emu/biosemu.c b/util/x86emu/biosemu.c
index c773539c3e..b847bb0109 100644
--- a/util/x86emu/biosemu.c
+++ b/util/x86emu/biosemu.c
@@ -37,13 +37,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <string.h>
-#ifdef CONFIG_COREBOOT_V2
#include <arch/io.h>
#include <console/console.h>
-#else
-#include <io.h>
-#include <console.h>
-#endif
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
@@ -243,11 +238,7 @@ static int int1a_handler(void)
break;
case FIND_PCI_DEVICE:
/* FIXME: support SI != 0 */
-#ifdef CONFIG_COREBOOT_V2
dev = dev_find_device(X86_DX, X86_CX, dev);
-#else
- dev = dev_find_pci_device(X86_DX, X86_CX, dev);
-#endif
if (dev != 0) {
X86_BH = dev->bus->secondary;
X86_BL = dev->path.pci.devfn;