aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/usb_ehci.c
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-11-20 12:56:44 +0000
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-24 18:37:58 +0000
commit4ea08f9f5668cec116478a2fc226945c0a66259a (patch)
tree7dc777ed8e00fbf3e1c641f4e39865485135b74e /src/southbridge/intel/lynxpoint/usb_ehci.c
parentd5f1c088164d03a501fb94217bca94ffd382079e (diff)
sb/intel/lynxpoint: Replace hard-coded IDs with defines
Replace hard-coded IDs with defines introduced in CB:47807. Used documents: - 328904-003 - 329003-003 Built lenovo/t440p with BUILD_TIMELESS=1, coreboot.rom remains identical. Change-Id: I910ab356dd8728c316018989bfb2689d4c67c2dc Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47808 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/usb_ehci.c')
-rw-r--r--src/southbridge/intel/lynxpoint/usb_ehci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/usb_ehci.c b/src/southbridge/intel/lynxpoint/usb_ehci.c
index f121aa84ce..d718ab3280 100644
--- a/src/southbridge/intel/lynxpoint/usb_ehci.c
+++ b/src/southbridge/intel/lynxpoint/usb_ehci.c
@@ -169,7 +169,12 @@ static struct device_operations usb_ehci_ops = {
.ops_pci = &lops_pci,
};
-static const unsigned short pci_device_ids[] = { 0x9c26, 0x8c26, 0x8c2d, 0 };
+static const unsigned short pci_device_ids[] = {
+ PCI_DEVICE_ID_INTEL_LPT_LP_EHCI,
+ PCI_DEVICE_ID_INTEL_LPT_H_EHCI_1,
+ PCI_DEVICE_ID_INTEL_LPT_H_EHCI_2,
+ 0
+};
static const struct pci_driver pch_usb_ehci __pci_driver = {
.ops = &usb_ehci_ops,