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>
This commit is contained in:
committed by
Patrick Georgi
parent
7250f0365d
commit
bdca15337b
@ -194,7 +194,6 @@ execute_command (usbdev_t *dev, cbw_direction dir, const u8 *cb, int cblen,
|
|||||||
reset_transport (dev);
|
reset_transport (dev);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
mdelay (10);
|
|
||||||
if (buflen > 0) {
|
if (buflen > 0) {
|
||||||
if (dir == cbw_direction_data_in) {
|
if (dir == cbw_direction_data_in) {
|
||||||
if (dev->controller->
|
if (dev->controller->
|
||||||
|
Reference in New Issue
Block a user