diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c index 0f711e1a0b..9d181351a2 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c @@ -1580,7 +1580,7 @@ EhcDriverBindingStart ( // Robustnesss improvement such as for UoL // Default is not required. // - if (FeaturePcdGet (PcdUsbLegacySupport)) { + if (FeaturePcdGet (PcdTurnOffUsbLegacySupport)) { EhcClearLegacySupport (Ehc); } EhcResetHC (Ehc, EHC_RESET_TIMEOUT); diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf index 423a04285f..ce1a03afd9 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf +++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf @@ -52,7 +52,7 @@ MdeModulePkg/MdeModulePkg.dec [FeaturePcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdUsbLegacySupport + gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport [LibraryClasses] MemoryAllocationLib diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c index f0aedc753f..15a6444c5b 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c @@ -1658,7 +1658,7 @@ UhciDriverBindingStart ( // Robustnesss improvement such as for UoL // Default is not required. // - if (FeaturePcdGet (PcdUsbLegacySupport)) { + if (FeaturePcdGet (PcdTurnOffUsbLegacySupport)) { UhciTurnOffUsbEmulation (PciIo); } diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf b/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf index 818ff6dade..98780202a0 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf +++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf @@ -52,7 +52,7 @@ MdeModulePkg/MdeModulePkg.dec [FeaturePcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdUsbLegacySupport + gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport [LibraryClasses] MemoryAllocationLib diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 98a66e58f4..ea709c5aa1 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -131,7 +131,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdPeiCoreImageLoaderSearchTeSectionFirst|TRUE|BOOLEAN|0x00010044 gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHardwareErrorRecord|FALSE|BOOLEAN|0x00010045 gEfiMdeModulePkgTokenSpaceGuid.PcdUgaConsumeSupport|TRUE|BOOLEAN|0x00010046 - gEfiMdeModulePkgTokenSpaceGuid.PcdUsbLegacySupport|FALSE|BOOLEAN|0x00010047 + gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport|FALSE|BOOLEAN|0x00010047 [PcdsFixedAtBuild.common] gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPcdCallBackNumberPerPcdEntry|0x08|UINT32|0x0001000f