diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c index 949aa0496a..0f711e1a0b 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c @@ -1580,7 +1580,9 @@ EhcDriverBindingStart ( // Robustnesss improvement such as for UoL
// Default is not required.
//
- // EhcClearLegacySupport (Ehc);
+ if (FeaturePcdGet (PcdUsbLegacySupport)) {
+ EhcClearLegacySupport (Ehc);
+ }
EhcResetHC (Ehc, EHC_RESET_TIMEOUT);
Status = EhcInitHC (Ehc);
|