diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-11-19 22:57:03 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-11-21 21:01:22 +0100 |
commit | 4596a64a6188c658ee8f30b4bd757ffc902efe7a (patch) | |
tree | c60d92fe39d82c1c04167591d03dbc82ecaf5aeb /src/southbridge/amd/sb600 | |
parent | 76a6586eeff9b27a33c1b5684262df4e80692cf4 (diff) |
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>
Diffstat (limited to 'src/southbridge/amd/sb600')
-rw-r--r-- | src/southbridge/amd/sb600/hda.c | 4 |
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); |