summaryrefslogtreecommitdiff
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:22 +0100
commit4596a64a6188c658ee8f30b4bd757ffc902efe7a (patch)
treec60d92fe39d82c1c04167591d03dbc82ecaf5aeb
parent76a6586eeff9b27a33c1b5684262df4e80692cf4 (diff)
downloadcoreboot-4596a64a6188c658ee8f30b4bd757ffc902efe7a.tar.xz
AMD sb600: Fix PCI ID error
Broken since February 2008, looking for incorrect PCI VENDOR. Change-Id: I6935683a8a7428ca9b2e90bcc0a090c3865ffd33 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17513 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>
-rw-r--r--src/southbridge/amd/sb600/hda.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/southbridge/amd/sb600/hda.c b/src/southbridge/amd/sb600/hda.c
index 88b242e52e..bb2b2b1c25 100644
--- a/src/southbridge/amd/sb600/hda.c
+++ b/src/southbridge/amd/sb600/hda.c
@@ -271,9 +271,7 @@ static void hda_init(struct device *dev)
pm_iowrite(0x59, 0xB);
/* 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_SB600_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_SB600_SM, 0);
/* Set routing pin - SMBus ExtFunc (0xf8/0xfc) */
pci_write_config32(sm_dev, 0xf8, 0x00);