coreboot-kgpe-d16/src/pc80/udelay_io.c
Stefan Reinauer 8e65adb67d 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
2008-08-13 12:16:15 +00:00

9 lines
99 B
C

#include <arch/io.h>
void udelay(int usecs)
{
int i;
for(i = 0; i < usecs; i++)
inb(0x80);
}