sb/ibexpeak: Use macros instead of hard-coded IDs
This patch replaces hard-coded PCI IDs with macros from pci_ids.h and
adds the related IDs to it.
The resulting binary doesn't differ from the one without this patch.
Used documents:
- Intel 322170
Change-Id: I3326f142d483f5008fb2ac878f30c1a3a72f500f
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37116
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Michael Niewöhner
diff --git a/src/southbridge/intel/ibexpeak/me.c b/src/southbridge/intel/ibexpeak/me.c
index 31a0261..e8974d8 100644
--- a/src/southbridge/intel/ibexpeak/me.c
+++ b/src/southbridge/intel/ibexpeak/me.c
@@ -614,8 +614,11 @@
.ops_pci = &pci_ops,
};
-static const unsigned short pci_device_ids[] = { 0x1c3a, 0x3b64,
- 0 };
+static const unsigned short pci_device_ids[] = {
+ 0x1c3a,
+ PCI_DID_INTEL_IBEXPEAK_HECI1,
+ 0
+};
static const struct pci_driver intel_me __pci_driver = {