diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-10-13 16:12:40 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-14 15:36:21 +0000 |
commit | 26651c85a03bbe09e17d0e17757c882dae404ebd (patch) | |
tree | fcfb04194a668f6399f583eee1a58f40858c1986 /src/soc/amd/stoneyridge/chipset_st.cb | |
parent | a11b472fd30aaf076c60627c6fd3cc795bda67c8 (diff) |
soc/amd/stoneyridge: use devicetree ops over pci driver
Stoneyridge is a SoC so it makes sense to statically use ops instead of
matching them to PCI DID/VID at runtime. In contrast to the other AMD
SoCs in the coreboot tree the PC driver used the PCI ID of the first HT
PCI device function, so add the ops to the device 0x18 function 0
devicetree entry in this patch.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I500521701479aa271ebd61e22a1494c8bfaf87fb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68408
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/chipset_st.cb')
-rw-r--r-- | src/soc/amd/stoneyridge/chipset_st.cb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/stoneyridge/chipset_st.cb b/src/soc/amd/stoneyridge/chipset_st.cb index 4e398b89db..be630d963f 100644 --- a/src/soc/amd/stoneyridge/chipset_st.cb +++ b/src/soc/amd/stoneyridge/chipset_st.cb @@ -19,13 +19,13 @@ chip soc/amd/stoneyridge device pci 08.0 alias crypto on end # cryptography coprocessor / PSP device pci 09.0 alias hda_bridge off end # host audio bridge device pci 09.2 alias hda off end # main HD Audio Controller - device pci 10.0 alias xhci off end + device pci 10.0 alias xhci off ops stoneyridge_usb_ops end device pci 11.0 alias sata off end - device pci 12.0 alias ehci off end + device pci 12.0 alias ehci off ops stoneyridge_usb_ops end device pci 14.0 alias smbus on end # primary FCH function device pci 14.3 alias lpc_bridge on end device pci 14.7 alias sdhci off end - device pci 18.0 alias ht_0 on end + device pci 18.0 alias ht_0 on ops stoneyridge_northbridge_operations end device pci 18.1 alias ht_1 on end device pci 18.2 alias ht_2 on end device pci 18.3 alias ht_3 on end |