summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-06 09:34:46 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-05-06 09:34:46 +0000
commitcc582cffd10ab8240070d2fe475c7a115bc99912 (patch)
tree9225567dc359cb904ea2a327af8090521830104e
parentec35e997ad836c2ac95ae5c43f2e8f883062081e (diff)
downloadedk2-cc582cffd10ab8240070d2fe475c7a115bc99912.zip
edk2-cc582cffd10ab8240070d2fe475c7a115bc99912.tar.gz
edk2-cc582cffd10ab8240070d2fe475c7a115bc99912.tar.bz2
Rename the confusing PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5169 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c2
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf2
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.c2
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf2
-rw-r--r--MdeModulePkg/MdeModulePkg.dec2
5 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c
index 0f711e1..9d18135 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 423a042..ce1a03a 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 f0aedc7..15a6444 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 818ff6d..9878020 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 98a66e5..ea709c5 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