summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2012-05-21 14:41:49 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-06-07 23:19:30 +0200
commit5e3428ea2093e028c7f976b69032b1882e10e6ca (patch)
tree11569bde3aa7296b177f2d564cbc6047504cd9b8 /payloads/libpayload/drivers
parent62eb5b3837c51228898288cb7347dce81c563842 (diff)
downloadcoreboot-5e3428ea2093e028c7f976b69032b1882e10e6ca.tar.xz
libpayload: Remove orphaned delay from OHCI USB driver
This removes a synthetic delay of 5ms from every OHCI USB command. A delay here seems to be of no use and first tests have shown no glitches. Change-Id: Ie72b2d49e6734345708f04f3f7b86bacc7926108 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: http://review.coreboot.org/1075 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r--payloads/libpayload/drivers/usb/ohci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/ohci.c b/payloads/libpayload/drivers/usb/ohci.c
index 1e2386e588..73120a85da 100644
--- a/payloads/libpayload/drivers/usb/ohci.c
+++ b/payloads/libpayload/drivers/usb/ohci.c
@@ -213,7 +213,6 @@ wait_for_ed(usbdev_t *dev, ed_t *head)
(((td_t*)phys_to_virt(head->head_pointer & ~3))->config & TD_CC_MASK) >> TD_CC_SHIFT);
mdelay(1);
}
- mdelay(5);
#if 0
/* XXX: The following debugging code may follow invalid lists and
* cause a reboot.