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@coresystems.de Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@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); }