MdeModulePkg/UsbBusDxe: Timing tunning for better boot performance.

Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13809 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian
2012-10-10 02:46:06 +00:00
parent fa8801f5fc
commit c843ef6796
3 changed files with 13 additions and 8 deletions

View File

@ -763,7 +763,12 @@ UsbHubInit (
UsbHubCtrlSetPortFeature (HubIf->Device, Index, (EFI_USB_PORT_FEATURE) USB_HUB_PORT_POWER);
}
gBS->Stall (HubDesc.PwrOn2PwrGood * USB_SET_PORT_POWER_STALL);
//
// Update for the usb hub has no power on delay requirement
//
if (HubDesc.PwrOn2PwrGood > 0) {
gBS->Stall (HubDesc.PwrOn2PwrGood * USB_SET_PORT_POWER_STALL);
}
UsbHubAckHubStatus (HubIf->Device);
}