summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-04-15 23:58:22 -0700
committerFurquan Shaikh <furquan@google.com>2020-04-28 19:12:07 +0000
commita1cd7eb93ed2b2f9a2351399a2036f84d9dfb9ff (patch)
tree631384ee4b2c6f1e6c31f4315e0c88c234ff243d /src/soc/amd
parent590bdc649e6ffc8dcb421e69e26e783b5d145d04 (diff)
amd/family17h: Add PCI device IDs for all controllers in AMD Family17h
This change adds all the missing PCI device IDs for AMD Family 17h. IDs that were already present are updated to include _FAM17H_ in the name instead of _PCO_ and _DALI_. This ensures that the PCI IDs match the family and models as per the PPR. In cases where the controller is present only on certain models, _MODEL##H_ is also included in the name. BUG=b:153858769 BRANCH=None TEST=Verified that trembyle and dalboz still build. Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: Ia767d32ec22f5e58827e7531c0d3d3bac90d3425 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/hda/hda.c3
-rw-r--r--src/soc/amd/common/block/lpc/lpc.c2
-rw-r--r--src/soc/amd/picasso/acp.c2
-rw-r--r--src/soc/amd/picasso/usb.c6
4 files changed, 7 insertions, 6 deletions
diff --git a/src/soc/amd/common/block/hda/hda.c b/src/soc/amd/common/block/hda/hda.c
index 1eaee1e578..e4f86df192 100644
--- a/src/soc/amd/common/block/hda/hda.c
+++ b/src/soc/amd/common/block/hda/hda.c
@@ -10,7 +10,8 @@
static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_AMD_SB900_HDA,
PCI_DEVICE_ID_AMD_CZ_HDA,
- PCI_DEVICE_ID_AMD_PCO_HDA1,
+ PCI_DEVICE_ID_AMD_FAM17H_HDA0,
+ PCI_DEVICE_ID_AMD_FAM17H_HDA1,
0
};
diff --git a/src/soc/amd/common/block/lpc/lpc.c b/src/soc/amd/common/block/lpc/lpc.c
index 3df5ad0ae9..0c98fcbc6b 100644
--- a/src/soc/amd/common/block/lpc/lpc.c
+++ b/src/soc/amd/common/block/lpc/lpc.c
@@ -324,7 +324,7 @@ static struct device_operations lpc_ops = {
static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_AMD_SB900_LPC,
PCI_DEVICE_ID_AMD_CZ_LPC,
- PCI_DEVICE_ID_AMD_PCO_LPC,
+ PCI_DEVICE_ID_AMD_FAM17H_LPC,
0
};
static const struct pci_driver lpc_driver __pci_driver = {
diff --git a/src/soc/amd/picasso/acp.c b/src/soc/amd/picasso/acp.c
index 3dbc9f7a7a..ce5ced3031 100644
--- a/src/soc/amd/picasso/acp.c
+++ b/src/soc/amd/picasso/acp.c
@@ -56,5 +56,5 @@ static struct device_operations acp_ops = {
static const struct pci_driver acp_driver __pci_driver = {
.ops = &acp_ops,
.vendor = PCI_VENDOR_ID_AMD,
- .device = PCI_DEVICD_ID_AMD_PCO_ACP,
+ .device = PCI_DEVICE_ID_AMD_FAM17H_ACP,
};
diff --git a/src/soc/amd/picasso/usb.c b/src/soc/amd/picasso/usb.c
index 67328b8f52..6faf28f2c2 100644
--- a/src/soc/amd/picasso/usb.c
+++ b/src/soc/amd/picasso/usb.c
@@ -34,9 +34,9 @@ static struct device_operations usb_ops = {
};
static const unsigned short pci_device_ids[] = {
- PCI_DEVICE_ID_AMD_PCO_XHCI0,
- PCI_DEVICE_ID_AMD_PCO_XHCI1,
- PCI_DEVICE_ID_AMD_DALI_XHCI,
+ PCI_DEVICE_ID_AMD_FAM17H_MODEL18H_XHCI0,
+ PCI_DEVICE_ID_AMD_FAM17H_MODEL18H_XHCI1,
+ PCI_DEVICE_ID_AMD_FAM17H_MODEL20H_XHCI0,
0
};