<p>Furquan Shaikh has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22082">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/apollolake: Use newly added pmc_read_pm1_control<br><br>BUG=b:67874513<br><br>Change-Id: I6d5a76122b7d6e508e5ff3f4099e5d706fb48f9d<br>Signed-off-by: Furquan Shaikh <furquan@chromium.org><br>---<br>M src/soc/intel/apollolake/pmutil.c<br>1 file changed, 1 insertion(+), 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/82/22082/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/apollolake/pmutil.c b/src/soc/intel/apollolake/pmutil.c<br>index b9ed5b4..5fcefd7 100644<br>--- a/src/soc/intel/apollolake/pmutil.c<br>+++ b/src/soc/intel/apollolake/pmutil.c<br>@@ -86,7 +86,7 @@<br>  */<br> uint32_t soc_get_smi_status(uint32_t generic_sts)<br> {<br>-  if (generic_sts == 0 && !(inl(ACPI_BASE_ADDRESS + PM1_CNT) & SCI_EN)) {<br>+  if (generic_sts == 0 && !(pmc_read_pm1_control() & SCI_EN)) {<br>             uint16_t pm1_sts = inw(ACPI_BASE_ADDRESS + PM1_STS);<br> <br>               /* Fake PM1 status bit if power button pressed. */<br></pre><p>To view, visit <a href="https://review.coreboot.org/22082">change 22082</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/22082"/><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: I6d5a76122b7d6e508e5ff3f4099e5d706fb48f9d </div>
<div style="display:none"> Gerrit-Change-Number: 22082 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Furquan Shaikh <furquan@google.com> </div>