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>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3509 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2008-08-13 12:16:15 +00:00 committed by Stefan Reinauer
parent bc5379aefd
commit 8e65adb67d
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ void udelay(int usecs)
{ {
int i; int i;
for(i = 0; i < usecs; i++) for(i = 0; i < usecs; i++)
outb(i&0xff, 0x80); inb(0x80);
} }

View File

@ -4,6 +4,6 @@ void udelay(int usecs)
{ {
int i; int i;
for(i = 0; i < usecs; i++) for(i = 0; i < usecs; i++)
outb(i&0xff, 0x80); inb(0x80);
} }