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
This commit is contained in:
committed by
Stefan Reinauer
parent
d5663bac2c
commit
8ed1b6d2dc
@ -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",
|
||||
|
Reference in New Issue
Block a user