summaryrefslogtreecommitdiff
path: root/src/lib/usbdebug_direct.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-06 17:21:23 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-06 17:21:23 +0000
commitf8c77e82c5bd097d65fdd26022ef1ad559f3c87b (patch)
tree8d091fdaf631fc334f31578c8cca081cadf53b28 /src/lib/usbdebug_direct.c
parent9cbbc7902a76dadbfa6aea55a7b65616ea680536 (diff)
use inb instead of outb for delays in usb debug code (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3975 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib/usbdebug_direct.c')
-rw-r--r--src/lib/usbdebug_direct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/usbdebug_direct.c b/src/lib/usbdebug_direct.c
index 50097f3e4c..45230ea7de 100644
--- a/src/lib/usbdebug_direct.c
+++ b/src/lib/usbdebug_direct.c
@@ -92,7 +92,7 @@ static void dbgp_mdelay(int ms)
int i;
while (ms--) {
for (i = 0; i < 1000; i++)
- outb(0x1, 0x80);
+ inb(0x80);
}
}