[coreboot] r3509 - in trunk/coreboot-v2/src: cpu/emulation/qemu-x86 pc80

svn at coreboot.org svn at coreboot.org
Wed Aug 13 14:16:15 CEST 2008


Author: stepan
Date: 2008-08-13 14:16:15 +0200 (Wed, 13 Aug 2008)
New Revision: 3509

Modified:
   trunk/coreboot-v2/src/cpu/emulation/qemu-x86/northbridge.c
   trunk/coreboot-v2/src/pc80/udelay_io.c
Log:
Fix outb to 0x80 delay functions to use inb instead (fixes excessive post codes
in a couple of occurences)

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>


Modified: trunk/coreboot-v2/src/cpu/emulation/qemu-x86/northbridge.c
===================================================================
--- trunk/coreboot-v2/src/cpu/emulation/qemu-x86/northbridge.c	2008-08-13 09:38:12 UTC (rev 3508)
+++ trunk/coreboot-v2/src/cpu/emulation/qemu-x86/northbridge.c	2008-08-13 12:16:15 UTC (rev 3509)
@@ -147,7 +147,7 @@
 {
 	int i;
 	for(i = 0; i < usecs; i++)
-		outb(i&0xff, 0x80);
+		inb(0x80);
 }
 
 

Modified: trunk/coreboot-v2/src/pc80/udelay_io.c
===================================================================
--- trunk/coreboot-v2/src/pc80/udelay_io.c	2008-08-13 09:38:12 UTC (rev 3508)
+++ trunk/coreboot-v2/src/pc80/udelay_io.c	2008-08-13 12:16:15 UTC (rev 3509)
@@ -4,6 +4,6 @@
 {
 	int i;
 	for(i = 0; i < usecs; i++)
-		outb(i&0xff, 0x80);
+		inb(0x80);
 }
 





More information about the coreboot mailing list