Commit fe72cfae authored by Idwer Vollering's avatar Idwer Vollering Committed by Carl-Daniel Hailfinger
Browse files

Use macros for inb and outb which were forgotten in r568


This makes FreeBSD happy.

Corresponding to flashrom svn r570.
Signed-off-by: default avatarIdwer Vollering <vidwer@gmail.com>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent c6e1111b
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment