From f8c77e82c5bd097d65fdd26022ef1ad559f3c87b Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 6 Mar 2009 17:21:23 +0000 Subject: [PATCH] use inb instead of outb for delays in usb debug code (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3975 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/usbdebug_direct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }