[coreboot] [flashrom] r570 - trunk

svn at coreboot.org svn at coreboot.org
Wed Jun 3 18:41:11 CEST 2009


Author: hailfinger
Date: 2009-06-03 18:41:11 +0200 (Wed, 03 Jun 2009)
New Revision: 570

Modified:
   trunk/board_enable.c
Log:
Use macros for inb and outb which were forgotten in r568.
This makes FreeBSD happy.

Signed-off-by: Idwer Vollering <vidwer at gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/board_enable.c
===================================================================
--- trunk/board_enable.c	2009-06-03 14:46:22 UTC (rev 569)
+++ trunk/board_enable.c	2009-06-03 16:41:11 UTC (rev 570)
@@ -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;
 }





More information about the coreboot mailing list