mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
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>
This commit is contained in:
parent
c6e1111bed
commit
fe72cfaec5
@ -390,9 +390,9 @@ static int board_ga_k8n_sli(const char *name)
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user