diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-01-19 21:13:44 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-01-19 21:13:44 +0000 |
commit | 8ed1b6d2dc16b25334dff13033843b8c7f125f83 (patch) | |
tree | be5210211a638873f15592bd7babfea6dcf80961 /util/x86emu/yabel/io.c | |
parent | d5663bac2c6b2cea2f8c5fa4bd972517325af13b (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/io.c')
-rw-r--r-- | util/x86emu/yabel/io.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/util/x86emu/yabel/io.c b/util/x86emu/yabel/io.c index c2e6da818d..fd205e4dd6 100644 --- a/util/x86emu/yabel/io.c +++ b/util/x86emu/yabel/io.c @@ -12,14 +12,8 @@ *****************************************************************************/ #include <types.h> -#ifdef CONFIG_COREBOOT_V2 #include "compat/rtas.h" #include "compat/time.h" -#else -#include <cpu.h> -#include "rtas.h" -#include <time.h> -#endif #include "device.h" #include "debug.h" #include <x86emu/x86emu.h> @@ -36,7 +30,7 @@ extern int write_io(void *, unsigned int, size_t); //defined in net-snk/kernel/timer.c extern u64 get_time(void); -#ifdef COREBOOT_V2 +#ifdef CONFIG_ARCH_X86 #include <arch/io.h> #else // these are not used, only needed for linking, must be overridden using X86emu_setupPioFuncs |