summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h6
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
index b3c748c3f6..eeae07f014 100644
--- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
@@ -822,12 +822,6 @@ SetupResetReminder (
#define BDS_EFI_UNSUPPORT 0xFFFF
-///
-/// USB host controller Programming Interface.
-///
-#define PCI_CLASSC_PI_UHCI 0x00
-#define PCI_CLASSC_PI_EHCI 0x20
-
/**
Check whether an instance in BlockIoDevicePath has the same partition node as the HardDriveDevicePath device path
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c
index a352d80842..ab7879def1 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c
@@ -370,12 +370,12 @@ BdsLibConnectConsoleVariable (
//
// Check the Usb console in Usb2.0 bus firstly, then Usb1.1 bus
//
- Status = BdsLibConnectUsbDevByShortFormDP (PCI_CLASSC_PI_EHCI, Instance);
+ Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_EHCI, Instance);
if (!EFI_ERROR (Status)) {
DeviceExist = TRUE;
}
- Status = BdsLibConnectUsbDevByShortFormDP (PCI_CLASSC_PI_UHCI, Instance);
+ Status = BdsLibConnectUsbDevByShortFormDP (PCI_IF_UHCI, Instance);
if (!EFI_ERROR (Status)) {
DeviceExist = TRUE;
}