summaryrefslogtreecommitdiff
path: root/util/x86emu/x86_interrupts.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-01-19 21:13:44 +0000
committerStefan Reinauer <stepan@openbios.org>2010-01-19 21:13:44 +0000
commit8ed1b6d2dc16b25334dff13033843b8c7f125f83 (patch)
treebe5210211a638873f15592bd7babfea6dcf80961 /util/x86emu/x86_interrupts.c
parentd5663bac2c6b2cea2f8c5fa4bd972517325af13b (diff)
drop COREBOOT_V2 and COREBOOT_V4 define. We're not sharing code with v3
anymore so this ugly hack is no longer needed. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5040 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/x86emu/x86_interrupts.c')
-rw-r--r--util/x86emu/x86_interrupts.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/util/x86emu/x86_interrupts.c b/util/x86emu/x86_interrupts.c
index a792fdff1b..a21a0ab988 100644
--- a/util/x86emu/x86_interrupts.c
+++ b/util/x86emu/x86_interrupts.c
@@ -23,15 +23,10 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <string.h>
-#ifdef CONFIG_COREBOOT_V2
#include <console/console.h>
#include <arch/io.h>
#include <arch/registers.h>
#define printk(x...) do_printk(x)
-#else
-#include <console.h>
-#include <io.h>
-#endif
enum {
PCIBIOS_CHECK = 0xb101,
@@ -88,11 +83,7 @@ int int1a_handler(struct eregs *regs)
vendorid = regs->edx;
devindex = regs->esi;
dev = 0;
-#ifdef CONFIG_COREBOOT_V2
while ((dev = dev_find_device(vendorid, devid, dev))) {
-#else
- while ((dev = dev_find_pci_device(vendorid, devid, dev))) {
-#endif
if (devindex <= 0)
break;
devindex--;