diff options
author | Nico Huber <nico.huber@secunet.com> | 2012-05-21 14:01:52 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-06-01 12:26:31 +0200 |
commit | bdca15337bc9337f399b43290dc74cb598c5ec4d (patch) | |
tree | b7e39fd675fd62822d1395639f70df290752e364 /payloads/libpayload | |
parent | 7250f0365d87d18e789f8fc5c203a7657aa75544 (diff) | |
download | coreboot-bdca15337bc9337f399b43290dc74cb598c5ec4d.tar.xz |
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 <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1071
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/drivers/usb/usbmsc.c | 1 |
1 files changed, 0 insertions, 1 deletions
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-> |