summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/via/epia/auto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/via/epia/auto.c b/src/mainboard/via/epia/auto.c
index 6b06be3424..e5ea66cec1 100644
--- a/src/mainboard/via/epia/auto.c
+++ b/src/mainboard/via/epia/auto.c
@@ -16,7 +16,7 @@
void udelay(int usecs) {
int i;
for(i = 0; i < usecs; i++)
- outb(0x80, 0x80);
+ outb(i&0xff, 0x80);
}
#include "lib/delay.c"