From bdca15337bc9337f399b43290dc74cb598c5ec4d Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Mon, 21 May 2012 14:01:52 +0200 Subject: libpayload: Remove orphaned delay from USB mass storage This removes a synthetic delay of 10ms from every mass storage command. A delay here seems to be of no use and first tests have only shown a huge speed increase. Change-Id: Ida7423229373ec521d4326c5467a3f518b76149c Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/1071 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- payloads/libpayload/drivers/usb/usbmsc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'payloads/libpayload/drivers/usb') diff --git a/payloads/libpayload/drivers/usb/usbmsc.c b/payloads/libpayload/drivers/usb/usbmsc.c index f90acb1744..d39c784c30 100644 --- a/payloads/libpayload/drivers/usb/usbmsc.c +++ b/payloads/libpayload/drivers/usb/usbmsc.c @@ -194,7 +194,6 @@ execute_command (usbdev_t *dev, cbw_direction dir, const u8 *cb, int cblen, reset_transport (dev); return 1; } - mdelay (10); if (buflen > 0) { if (dir == cbw_direction_data_in) { if (dev->controller-> -- cgit v1.2.3