slimbootloader/BootloaderCommonPkg/Library/UsbBlockIoLib
Stanley Chang e9ee58d8ce Add USB command timeout control
A USB disk behind a hub may take longer time to respond command.
Prior to the patch, a magic 2000 ms is set. This patch introduces
a python control (USB_CMD_TIMEOUT) for customizing the timeout if
need. The patch also extends the default timeout to 4196 ms.

This patch does not impact booting time when a platform boots with
a good-conditioning usb disk, because the timeout only takes effect
when a disk does not respond to a USB inquiry for a long time.

Verified: Ehl RVP

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2022-04-12 08:42:07 -07:00
..
BotPeim.c Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
BotPeim.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PeiAtapi.c Add USB command timeout control 2022-04-12 08:42:07 -07:00
PeiUsbLib.c Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PeiUsbLib.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbBlockIoLib.c Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbBlockIoLib.inf Add USB command timeout control 2022-04-12 08:42:07 -07:00
UsbBlockIoLibNull.c Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbBlockIoLibNull.inf Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbBotPeim.c Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbBotPeim.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbPeim.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00