summaryrefslogtreecommitdiff
path: root/util/x86emu/yabel/interrupt.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/yabel/interrupt.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/yabel/interrupt.c')
-rw-r--r--util/x86emu/yabel/interrupt.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/util/x86emu/yabel/interrupt.c b/util/x86emu/yabel/interrupt.c
index 5542588571..79b0899a08 100644
--- a/util/x86emu/yabel/interrupt.c
+++ b/util/x86emu/yabel/interrupt.c
@@ -11,11 +11,7 @@
* IBM Corporation - initial implementation
*****************************************************************************/
-#ifdef CONFIG_COREBOOT_V2
#include "compat/rtas.h"
-#else
-#include <rtas.h>
-#endif
#include "biosemu.h"
#include "mem.h"
@@ -24,11 +20,7 @@
#include "pmm.h"
#include <x86emu/x86emu.h>
-#ifdef CONFIG_COREBOOT_V2
#include "../x86emu/prim_ops.h"
-#else
-#include <x86emu/prim_ops.h>
-#endif
#ifdef CONFIG_PCI_OPTION_ROM_RUN_YABEL
#include <device/pci.h>
@@ -350,11 +342,7 @@ handleInt1a(void)
__func__, M.x86.R_AX);
/* FixME: support SI != 0 */
#if defined(CONFIG_YABEL_PCI_ACCESS_OTHER_DEVICES) && CONFIG_YABEL_PCI_ACCESS_OTHER_DEVICES==1
-#ifdef CONFIG_COREBOOT_V2
dev = dev_find_device(M.x86.R_DX, M.x86.R_CX, 0);
-#else
- dev = dev_find_pci_device(M.x86.R_DX, M.x86.R_CX, 0);
-#endif
if (dev != 0) {
DEBUG_PRINTF_INTR
("%s(): function %x: PCI Find Device --> 0x%04x\n",