[coreboot] New patch to review for coreboot: a01d72e YABEL: use system {in, out}[bwl] on x86
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Thu Feb 7 15:54:20 CET 2013
Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2318
-gerrit
commit a01d72ed0d25ccb6b84c181780614b9f2d047def
Author: Patrick Georgi <patrick.georgi at secunet.com>
Date: Thu Feb 7 15:53:54 2013 +0100
YABEL: use system {in,out}[bwl] on x86
The prototypes that were recently defined only work for the
internal implementations.
Change-Id: Ib34bb75a0b882533da550b9cd17cd777c2463e02
Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
---
src/device/oprom/include/io.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h
index d9b2139..96dd572 100644
--- a/src/device/oprom/include/io.h
+++ b/src/device/oprom/include/io.h
@@ -1,3 +1,6 @@
+#if CONFIG_ARCH_X86
+#include <arch/io.h>
+#else
void outb(u8 val, u16 port);
void outw(u16 val, u16 port);
void outl(u32 val, u16 port);
@@ -5,5 +8,4 @@ void outl(u32 val, u16 port);
u8 inb(u16 port);
u16 inw(u16 port);
u32 inl(u16 port);
-
-
+#endif
More information about the coreboot
mailing list