<p>Matt DeVillier has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21172">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/braswell: Populate NVS SCC BAR1<br><br>Cherry-pick from Chromium commit f92d7be.<br><br>This BAR is used in _PS0 and _PS3 methods and is used by kernel driver to put<br>SD controller in D3<br><br>Original-Change-Id: Iae4722cb222f61e96948265f57d6b522065853d9<br>Original-Signed-off-by: Hannah Williams <hannah.williams@intel.com><br>Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org><br>Original-Reviewed-by: Duncan Laurie <dlaurie@google.com><br>Original-Tested-by: Aseda Aboagye <aaboagye@chromium.org><br><br>Change-Id: I59973226d57fe1dc3da21b2cec1c7b9a713829ab<br>Signed-off-by: Matt DeVillier <matt.devillier@gmail.com><br>---<br>M src/soc/intel/braswell/scc.c<br>1 file 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/72/21172/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/braswell/scc.c b/src/soc/intel/braswell/scc.c<br>index 3172b73..6538c5c 100644<br>--- a/src/soc/intel/braswell/scc.c<br>+++ b/src/soc/intel/braswell/scc.c<br>@@ -42,7 +42,10 @@<br>      /* Save BAR0 and BAR1 to ACPI NVS */<br>  bar = find_resource(dev, PCI_BASE_ADDRESS_0);<br>         if (bar)<br>-             gnvs->dev.scc_bar0[nvs_index] = (u32)bar->base;<br>+                gnvs->dev.scc_bar0[nvs_index] = bar->base;<br>+     bar = find_resource(dev, PCI_BASE_ADDRESS_2);<br>+        if (bar)<br>+             gnvs->dev.scc_bar1[nvs_index] = bar->base;<br> <br>   /* Device is enabled in ACPI mode */<br>  gnvs->dev.scc_en[nvs_index] = 1;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21172">change 21172</a>. To unsubscribe, 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/21172"/><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: I59973226d57fe1dc3da21b2cec1c7b9a713829ab </div>
<div style="display:none"> Gerrit-Change-Number: 21172 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Matt DeVillier <matt.devillier@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Hannah Williams <hannah.williams@intel.com> </div>