soc/intel/denverton: Move PCI IDs to pci_ids.h
This patch moves the PCI ID definitions to pci_ids.h file
and replaces every occurrence with the new names.
The resulting binary doesn't differ from the one
without this patch.
Used documents:
- Intel 337018
Change-Id: Ib7d2aae78c8877f3c9287d03b20a5620db293445
Signed-off-by: Felix Singer <felix.singer@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37120
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
diff --git a/src/soc/intel/denverton_ns/sata.c b/src/soc/intel/denverton_ns/sata.c
index ddb8b02..d53d553 100644
--- a/src/soc/intel/denverton_ns/sata.c
+++ b/src/soc/intel/denverton_ns/sata.c
@@ -74,8 +74,8 @@
};
static const unsigned short pci_device_ids[] = {
- AHCI_DEVID, /* DVN SATA AHCI */
- AHCI2_DEVID, /* DVN SATA2 AHCI */
+ PCI_DEVICE_ID_INTEL_DENVERTON_SATA_AHCI_1,
+ PCI_DEVICE_ID_INTEL_DENVERTON_SATA_AHCI_2,
0
};