diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-10-05 14:41:51 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-13 19:41:11 +0000 |
commit | 6a5d770536758c75f05d53aed9302f21843c93a6 (patch) | |
tree | ba145736bd17431ad347f27d10a7b3e1dd21b5c5 /src/soc/amd/mendocino/chipset_mendocino.cb | |
parent | b65f609bfd2cf3b459937687015ebabe22421bb0 (diff) |
soc/amd/mendocino: Use devicetree ops over pci driver
Mendocino is a SoC so it makes sense to statically use ops instead of
matching them to PCI DID/VID at runtime.
Change-Id: I5619c8ad42cdeb019cb7294da884909df64a2211
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68141
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/mendocino/chipset_mendocino.cb')
-rw-r--r-- | src/soc/amd/mendocino/chipset_mendocino.cb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/soc/amd/mendocino/chipset_mendocino.cb b/src/soc/amd/mendocino/chipset_mendocino.cb index bfdddef733..390d5e52b3 100644 --- a/src/soc/amd/mendocino/chipset_mendocino.cb +++ b/src/soc/amd/mendocino/chipset_mendocino.cb @@ -4,7 +4,7 @@ chip soc/amd/mendocino end device domain 0 on ops mendocino_pci_domain_ops - device pci 00.0 alias gnb on end + device pci 00.0 alias gnb on ops mendocino_root_complex_operations end device pci 00.2 alias iommu off end device pci 01.0 on end # Dummy Host Bridge @@ -72,14 +72,14 @@ chip soc/amd/mendocino device pci 14.0 alias smbus on end # primary FCH function device pci 14.3 alias lpc_bridge on end - device pci 18.0 alias data_fabric_0 on end - device pci 18.1 alias data_fabric_1 on end - device pci 18.2 alias data_fabric_2 on end - device pci 18.3 alias data_fabric_3 on end - device pci 18.4 alias data_fabric_4 on end - device pci 18.5 alias data_fabric_5 on end - device pci 18.6 alias data_fabric_6 on end - device pci 18.7 alias data_fabric_7 on end + device pci 18.0 alias data_fabric_0 on ops mendocino_data_fabric_ops end + device pci 18.1 alias data_fabric_1 on ops mendocino_data_fabric_ops end + device pci 18.2 alias data_fabric_2 on ops mendocino_data_fabric_ops end + device pci 18.3 alias data_fabric_3 on ops mendocino_data_fabric_ops end + device pci 18.4 alias data_fabric_4 on ops mendocino_data_fabric_ops end + device pci 18.5 alias data_fabric_5 on ops mendocino_data_fabric_ops end + device pci 18.6 alias data_fabric_6 on ops mendocino_data_fabric_ops end + device pci 18.7 alias data_fabric_7 on ops mendocino_data_fabric_ops end end device mmio 0xfedc2000 alias i2c_0 off ops soc_amd_i2c_mmio_ops end |