<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/24930">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/stoneyridge: Add ST/CZ SMBus device id<br><br>The SMBus PCI device ID for Stoney wasn't updated when the code was<br>pulled over from hudson.  This means that the IOAPIC wasn't being<br>initialized in coreboot.<br><br>BUG=b:74070580<br>TEST=Boot Grunt, see IOAPIC init messages in console.<br><br>Change-Id: Ida5d3f3592488694681300d79444c1e26fff6a1a<br>Signed-off-by: Martin Roth <martinroth@chromium.org><br>---<br>M src/include/device/pci_ids.h<br>M src/soc/amd/stoneyridge/sm.c<br>2 files changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/24930/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h</span><br><span>index 16ca1a9..cbdaca1 100644</span><br><span>--- a/src/include/device/pci_ids.h</span><br><span>+++ b/src/include/device/pci_ids.h</span><br><span>@@ -442,6 +442,8 @@</span><br><span> #define PCI_DEVICE_ID_AMD_CZ_USB_0      0x7907</span><br><span> #define PCI_DEVICE_ID_AMD_CZ_USB_1      0x7908</span><br><span> #define PCI_DEVICE_ID_AMD_CZ_USB3_0     0x7914</span><br><span style="color: hsl(120, 100%, 40%);">+#define PCI_DEVICE_ID_AMD_CZ_SMBUS      0x790B</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> </span><br><span> #define PCI_VENDOR_ID_VLSI          0x1004</span><br><span> #define PCI_DEVICE_ID_VLSI_82C592     0x0005</span><br><span>diff --git a/src/soc/amd/stoneyridge/sm.c b/src/soc/amd/stoneyridge/sm.c</span><br><span>index 9456cbf..ca593ce 100644</span><br><span>--- a/src/soc/amd/stoneyridge/sm.c</span><br><span>+++ b/src/soc/amd/stoneyridge/sm.c</span><br><span>@@ -120,8 +120,9 @@</span><br><span>    .ops_pci = &lops_pci,</span><br><span>    .ops_smbus_bus = &lops_smbus_bus,</span><br><span> };</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> static const struct pci_driver smbus_driver __pci_driver = {</span><br><span>        .ops = &smbus_ops,</span><br><span>       .vendor = PCI_VENDOR_ID_AMD,</span><br><span style="color: hsl(0, 100%, 40%);">-    .device = PCI_DEVICE_ID_AMD_SB900_SM,</span><br><span style="color: hsl(120, 100%, 40%);">+ .device = PCI_DEVICE_ID_AMD_CZ_SMBUS,</span><br><span> };</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/24930">change 24930</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/24930"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ida5d3f3592488694681300d79444c1e26fff6a1a </div>
<div style="display:none"> Gerrit-Change-Number: 24930 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>