From 5e3428ea2093e028c7f976b69032b1882e10e6ca Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Mon, 21 May 2012 14:41:49 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/1075 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/drivers/usb/ohci.c | 1 - 1 file changed, 1 deletion(-) 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. -- cgit v1.2.3