aboutsummaryrefslogtreecommitdiff
path: root/util/x86emu/yabel/interrupt.c
diff options
context:
space:
mode:
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",