summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-11-09 00:55:38 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-01-12 00:44:50 +0000
commitcaa83ab2e1740ef3f47461d35307f1cb2b5acf78 (patch)
treea789fb5adefc0307eb84f46c076928b353ba8fd7 /src/soc
parent27b02c2eee68f4b6c8520c4737224aaaf81f137d (diff)
soc/amd/common/block: add new PCI IDs to common code
The existing common AMD SoC code supports some of AMD Family 17h Model A0h SoC's PCI devices that however have different PCI IDs. Add the new PCI ID defines to the PCI ID lists of the common PCI drivers. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I50960e502c63a2ffcfed35178c5e7c9729ef061e Reviewed-on: https://review.coreboot.org/c/coreboot/+/60985 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/graphics/graphics.c1
-rw-r--r--src/soc/amd/common/block/iommu/iommu.c1
-rw-r--r--src/soc/amd/common/block/pci/pcie_gpp.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/graphics/graphics.c b/src/soc/amd/common/block/graphics/graphics.c
index 79aeef795b..d237da5d9a 100644
--- a/src/soc/amd/common/block/graphics/graphics.c
+++ b/src/soc/amd/common/block/graphics/graphics.c
@@ -183,6 +183,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_ATI_FAM17H_MODEL18H_GPU,
PCI_DEVICE_ID_ATI_FAM17H_MODEL60H_GPU,
PCI_DEVICE_ID_ATI_FAM17H_MODEL68H_GPU,
+ PCI_DEVICE_ID_ATI_FAM17H_MODELA0H_GPU,
PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_CEZANNE,
PCI_DEVICE_ID_ATI_FAM19H_MODEL51H_GPU_BARCELO,
0,
diff --git a/src/soc/amd/common/block/iommu/iommu.c b/src/soc/amd/common/block/iommu/iommu.c
index 8628096aee..67abe9e66d 100644
--- a/src/soc/amd/common/block/iommu/iommu.c
+++ b/src/soc/amd/common/block/iommu/iommu.c
@@ -43,6 +43,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_AMD_15H_MODEL_707F_NB_IOMMU,
PCI_DEVICE_ID_AMD_17H_MODEL_1020_NB_IOMMU,
PCI_DEVICE_ID_AMD_17H_MODEL_606F_NB_IOMMU,
+ PCI_DEVICE_ID_AMD_17H_MODEL_A0AF_NB_IOMMU,
0
};
diff --git a/src/soc/amd/common/block/pci/pcie_gpp.c b/src/soc/amd/common/block/pci/pcie_gpp.c
index 37a4cf5218..d48d49ce82 100644
--- a/src/soc/amd/common/block/pci/pcie_gpp.c
+++ b/src/soc/amd/common/block/pci/pcie_gpp.c
@@ -62,6 +62,7 @@ static const unsigned short internal_pci_gpp_ids[] = {
PCI_DEVICE_ID_AMD_FAM17H_MODEL18H_PCIE_GPP_BUSA,
PCI_DEVICE_ID_AMD_FAM17H_MODEL18H_PCIE_GPP_BUSB,
PCI_DEVICE_ID_AMD_FAM17H_MODEL60H_PCIE_GPP_BUSABC,
+ PCI_DEVICE_ID_AMD_FAM17H_MODELA0H_PCIE_GPP_BUSABC,
0
};
@@ -85,6 +86,7 @@ static const unsigned short external_pci_gpp_ids[] = {
PCI_DEVICE_ID_AMD_FAM17H_MODEL18H_PCIE_GPP,
PCI_DEVICE_ID_AMD_FAM17H_MODEL60H_PCIE_GPP_D1,
PCI_DEVICE_ID_AMD_FAM17H_MODEL60H_PCIE_GPP_D2,
+ PCI_DEVICE_ID_AMD_FAM17H_MODELA0H_PCIE_GPP,
0
};