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:
parent
bc5379aefd
commit
8e65adb67d
|
@ -147,7 +147,7 @@ void udelay(int usecs)
|
|||
{
|
||||
int i;
|
||||
for(i = 0; i < usecs; i++)
|
||||
outb(i&0xff, 0x80);
|
||||
inb(0x80);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@ void udelay(int usecs)
|
|||
{
|
||||
int i;
|
||||
for(i = 0; i < usecs; i++)
|
||||
outb(i&0xff, 0x80);
|
||||
inb(0x80);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue