<p>Marc Jones has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26698">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/stoneyridge: Add ACPI device name lookup<br><br>Add the ACPI devices defined in ASL to the soc_acpi_name() lookup<br>function.<br><br>BUG=b:80280671<br>TEST=Add ACPI method to specific GPP bridge. Boot and verify method<br>with ACPI dump.<br><br>Change-Id: I5117e0d39db831364173c9c61ccdab6e34f18c59<br>Signed-off-by: Marc Jones <marc.jones@scarletltd.com><br>Signed-off-by: Marc Jones <marcj303@gmail.com><br>---<br>M src/soc/amd/stoneyridge/chip.c<br>1 file changed, 12 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/26698/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/amd/stoneyridge/chip.c b/src/soc/amd/stoneyridge/chip.c</span><br><span>index 3b73a05..9ca2db7 100644</span><br><span>--- a/src/soc/amd/stoneyridge/chip.c</span><br><span>+++ b/src/soc/amd/stoneyridge/chip.c</span><br><span>@@ -82,6 +82,18 @@</span><br><span>            return NULL;</span><br><span> </span><br><span>     switch (dev->path.pci.devfn) {</span><br><span style="color: hsl(120, 100%, 40%);">+     case PCIE0_DEVFN:</span><br><span style="color: hsl(120, 100%, 40%);">+             return "PBR4";</span><br><span style="color: hsl(120, 100%, 40%);">+      case PCIE1_DEVFN:</span><br><span style="color: hsl(120, 100%, 40%);">+             return "PBR5";</span><br><span style="color: hsl(120, 100%, 40%);">+      case PCIE2_DEVFN:</span><br><span style="color: hsl(120, 100%, 40%);">+             return "PBR6";</span><br><span style="color: hsl(120, 100%, 40%);">+      case PCIE3_DEVFN:</span><br><span style="color: hsl(120, 100%, 40%);">+             return "PBR7";</span><br><span style="color: hsl(120, 100%, 40%);">+      case PCIE4_DEVFN:</span><br><span style="color: hsl(120, 100%, 40%);">+             return "PBR8";</span><br><span style="color: hsl(120, 100%, 40%);">+      case HDA1_DEVFN:</span><br><span style="color: hsl(120, 100%, 40%);">+              return "AZHD";</span><br><span>     case EHCI1_DEVFN:</span><br><span>            return "EHC0";</span><br><span>     case LPC_DEVFN:</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26698">change 26698</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/26698"/><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: I5117e0d39db831364173c9c61ccdab6e34f18c59 </div>
<div style="display:none"> Gerrit-Change-Number: 26698 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marc Jones <marc@marcjonesconsulting.com> </div>