summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2018-03-01 11:26:18 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-03-06 08:45:32 +0000
commit069ca66ea402b51e2043a5587f29819e9331e8bf (patch)
tree9ea6c89f991ce5f257917af2e2f5a548b106f8e3 /src
parent345d1e39629b3548e40a82ed6d3d49bdcd5b6b88 (diff)
downloadcoreboot-069ca66ea402b51e2043a5587f29819e9331e8bf.tar.xz
soc/amd/stoneyridge: Add ST/CZ SMBus device id
The SMBus PCI device ID for Stoney wasn't updated when the code was pulled over from hudson. This means that the IOAPIC wasn't being initialized in coreboot. BUG=b:74070580 TEST=Boot Grunt, see IOAPIC init messages in console. Change-Id: Ida5d3f3592488694681300d79444c1e26fff6a1a Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://review.coreboot.org/24930 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/include/device/pci_ids.h1
-rw-r--r--src/soc/amd/stoneyridge/sm.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index 16ca1a9a40..d7935cfe3a 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -442,6 +442,7 @@
#define PCI_DEVICE_ID_AMD_CZ_USB_0 0x7907
#define PCI_DEVICE_ID_AMD_CZ_USB_1 0x7908
#define PCI_DEVICE_ID_AMD_CZ_USB3_0 0x7914
+#define PCI_DEVICE_ID_AMD_CZ_SMBUS 0x790B
#define PCI_VENDOR_ID_VLSI 0x1004
#define PCI_DEVICE_ID_VLSI_82C592 0x0005
diff --git a/src/soc/amd/stoneyridge/sm.c b/src/soc/amd/stoneyridge/sm.c
index 9456cbffcf..21ce75b2ef 100644
--- a/src/soc/amd/stoneyridge/sm.c
+++ b/src/soc/amd/stoneyridge/sm.c
@@ -123,5 +123,5 @@ static struct device_operations smbus_ops = {
static const struct pci_driver smbus_driver __pci_driver = {
.ops = &smbus_ops,
.vendor = PCI_VENDOR_ID_AMD,
- .device = PCI_DEVICE_ID_AMD_SB900_SM,
+ .device = PCI_DEVICE_ID_AMD_CZ_SMBUS,
};