diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-10-05 21:54:29 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-14 20:19:30 +0000 |
commit | b3dcb96dc57ade665306e9c03f41353fd11737aa (patch) | |
tree | 19731ed349d4cb5e363e57bf880148bdbf678e90 /src/soc/amd/mendocino | |
parent | c6f029cbccc7a1ae4f7463e5d519a32f0df100dd (diff) |
soc/amd/*: Hook up IOMMU ops in devicetree
This removed the need to maintain a PCI driver.
Change-Id: I43def81d615749008fcc9de8734fa2aca752aa9d
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68146
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc/amd/mendocino')
-rw-r--r-- | src/soc/amd/mendocino/chipset_mendocino.cb | 2 | ||||
-rw-r--r-- | src/soc/amd/mendocino/chipset_rembrandt.cb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/mendocino/chipset_mendocino.cb b/src/soc/amd/mendocino/chipset_mendocino.cb index c0472c536b..170b44cb68 100644 --- a/src/soc/amd/mendocino/chipset_mendocino.cb +++ b/src/soc/amd/mendocino/chipset_mendocino.cb @@ -5,7 +5,7 @@ chip soc/amd/mendocino device domain 0 on ops mendocino_pci_domain_ops device pci 00.0 alias gnb on ops mendocino_root_complex_operations end - device pci 00.2 alias iommu off end + device pci 00.2 alias iommu off ops amd_iommu_ops end device pci 01.0 on end # Dummy Host Bridge diff --git a/src/soc/amd/mendocino/chipset_rembrandt.cb b/src/soc/amd/mendocino/chipset_rembrandt.cb index c0472c536b..170b44cb68 100644 --- a/src/soc/amd/mendocino/chipset_rembrandt.cb +++ b/src/soc/amd/mendocino/chipset_rembrandt.cb @@ -5,7 +5,7 @@ chip soc/amd/mendocino device domain 0 on ops mendocino_pci_domain_ops device pci 00.0 alias gnb on ops mendocino_root_complex_operations end - device pci 00.2 alias iommu off end + device pci 00.2 alias iommu off ops amd_iommu_ops end device pci 01.0 on end # Dummy Host Bridge |