blob: 37f3f731865ac473ee75d0b47fb896d108d61a87 [file] [log] [blame]
Stefan Reinauer453dfdf2005-12-04 17:50:32 +00001#include <arch/io.h>
Maciej Pijankaea921852009-10-27 14:29:29 +00002#include <delay.h>
Stefan Reinauer453dfdf2005-12-04 17:50:32 +00003
Stefan Reinaueraeba92a2009-04-17 08:37:18 +00004void udelay(unsigned usecs)
Stefan Reinauer453dfdf2005-12-04 17:50:32 +00005{
6 int i;
7 for(i = 0; i < usecs; i++)
Stefan Reinauer8e65adb2008-08-13 12:16:15 +00008 inb(0x80);
Stefan Reinauer453dfdf2005-12-04 17:50:32 +00009}
10