Use macros for inb and outb which were forgotten in r568
This makes FreeBSD happy.
Corresponding to flashrom svn r570.
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/board_enable.c b/board_enable.c
index d4193a4..70e82c9 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -390,9 +390,9 @@
base = pci_read_long(dev, 0x64) & 0x0000FF00; /* System control area */
/* if anyone knows more about nvidia lpcs, feel free to explain this */
- tmp = inb(base + 0xE1);
+ tmp = INB(base + 0xE1);
tmp |= 0x05;
- outb(tmp, base + 0xE1);
+ OUTB(tmp, base + 0xE1);
return 0;
}