summaryrefslogtreecommitdiffstats
path: root/src/device/oprom/x86emu
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2012-12-07 16:55:12 -0800
committerRonald G. Minnich <rminnich@gmail.com>2012-12-08 06:46:14 +0100
commit91f1423cac0460ab79492a9c167765359b9dd3e2 (patch)
tree08d04c715a1d53563138eed391f022eeaa1b4323 /src/device/oprom/x86emu
parent4c4dd93be7fc7d7ae0d5802fe15f8e5e533a6872 (diff)
downloadcoreboot-91f1423cac0460ab79492a9c167765359b9dd3e2.tar.gz
coreboot-91f1423cac0460ab79492a9c167765359b9dd3e2.tar.bz2
coreboot-91f1423cac0460ab79492a9c167765359b9dd3e2.zip
Fix Yabel compilation on non-x86 platforms
Mostly preventing inb/outb being used on non-x86 Change-Id: I0434df4ce477c262337672867dc6ce398ff95279 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2002 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/device/oprom/x86emu')
-rw-r--r--src/device/oprom/x86emu/sys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/oprom/x86emu/sys.c b/src/device/oprom/x86emu/sys.c
index 7a9e3921ec23..b3b3cd712328 100644
--- a/src/device/oprom/x86emu/sys.c
+++ b/src/device/oprom/x86emu/sys.c
@@ -44,6 +44,7 @@
#include <arch/io.h>
#include <x86emu/x86emu.h>
#include <x86emu/regs.h>
+#include <device/oprom/include/io.h>
#include "debug.h"
#include "prim_ops.h"