summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-11-19 22:57:03 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-11-21 21:01:43 +0100
commitd3af82ef44e2a16fa1ecb3a3ed0aadeddcb010af (patch)
tree78fe2282e9f59469c35bea604ce85bc767733220 /src/southbridge
parent4596a64a6188c658ee8f30b4bd757ffc902efe7a (diff)
AMD sb700: Fix PCI ID error
Broken since March 2010, looking for incorrect PCI VENDOR. Change-Id: I1960aa168e59364ad962f00c81b67b8bdc5773ad Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17514 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/sb700/hda.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/southbridge/amd/sb700/hda.c b/src/southbridge/amd/sb700/hda.c
index 22537222ec..f89f3bb04e 100644
--- a/src/southbridge/amd/sb700/hda.c
+++ b/src/southbridge/amd/sb700/hda.c
@@ -173,9 +173,7 @@ static void hda_init(struct device *dev)
pm_iowrite(0x59, byte);
/* Find the SMBus */
- /* FIXME: Need to find out why the call below crashes. */
- /*sm_dev = dev_find_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_ATI_SB700_SM, 0);*/
- sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
+ sm_dev = dev_find_device(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB700_SM, 0);
/* Set routing pin - SMBus ExtFunc (0xf8/0xfc) */
pci_write_config32(sm_dev, 0xf8, 0x00);