From cc582cffd10ab8240070d2fe475c7a115bc99912 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 6 May 2008 09:34:46 +0000 Subject: Rename the confusing PCD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5169 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 2 +- MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf | 2 +- MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c | 2 +- MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf | 2 +- MdeModulePkg/MdeModulePkg.dec | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'MdeModulePkg') 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 -- cgit v1.2.3