summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/mendocino
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-10-05 14:36:55 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-14 20:18:45 +0000
commitfd2bb9b6bc06515f2a42a8575812271765f73313 (patch)
tree65ef4e7844b8f34a9c1e81f4a5025c3cde2bc7f6 /src/soc/amd/mendocino
parent65d73cc4573a23b4d98e3156cc1c4d0a1b09cb96 (diff)
downloadcoreboot-fd2bb9b6bc06515f2a42a8575812271765f73313.tar.gz
coreboot-fd2bb9b6bc06515f2a42a8575812271765f73313.tar.bz2
coreboot-fd2bb9b6bc06515f2a42a8575812271765f73313.zip
soc/amd/*: Hook up SMBus ops to devicetree
This removes the need for a PCI driver. Change-Id: Iab75f8c28a247f1370f4425e19cc215678bfa3e5 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/+/68140 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.cb2
-rw-r--r--src/soc/amd/mendocino/chipset_rembrandt.cb2
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 5692d645631f..707ff66164b3 100644
--- a/src/soc/amd/mendocino/chipset_mendocino.cb
+++ b/src/soc/amd/mendocino/chipset_mendocino.cb
@@ -71,7 +71,7 @@ chip soc/amd/mendocino
device pci 0.0 alias xhci_2 off end # Might also be a dummy device with different PCI DID
end
- device pci 14.0 alias smbus on end # primary FCH function
+ device pci 14.0 alias smbus on ops amd_smbus_ops end # primary FCH function
device pci 14.3 alias lpc_bridge on end
device pci 18.0 alias data_fabric_0 on ops mendocino_data_fabric_ops end
diff --git a/src/soc/amd/mendocino/chipset_rembrandt.cb b/src/soc/amd/mendocino/chipset_rembrandt.cb
index 5692d645631f..707ff66164b3 100644
--- a/src/soc/amd/mendocino/chipset_rembrandt.cb
+++ b/src/soc/amd/mendocino/chipset_rembrandt.cb
@@ -71,7 +71,7 @@ chip soc/amd/mendocino
device pci 0.0 alias xhci_2 off end # Might also be a dummy device with different PCI DID
end
- device pci 14.0 alias smbus on end # primary FCH function
+ device pci 14.0 alias smbus on ops amd_smbus_ops end # primary FCH function
device pci 14.3 alias lpc_bridge on end
device pci 18.0 alias data_fabric_0 on ops mendocino_data_fabric_ops end