<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21616">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/cannonlake: Remove old soc_get_rtc_failed function<br><br>In coreboot commit bcd0bdabed (soc/intel/cannonlake: add rtc failure<br>checking), the function soc_get_rtc_failed was supposed to be moved,<br>but the old function was not removed, causing a build error.<br><br>BUG=b:63054105<br><br>Change-Id: I31c1966af413df3f5a5492a5dd891a6eb26a1fc4<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M src/soc/intel/cannonlake/pmc.c<br>1 file changed, 0 insertions(+), 16 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/16/21616/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/soc/intel/cannonlake/pmc.c b/src/soc/intel/cannonlake/pmc.c<br>index a91e5ea..e9972a6 100644<br>--- a/src/soc/intel/cannonlake/pmc.c<br>+++ b/src/soc/intel/cannonlake/pmc.c<br>@@ -87,22 +87,6 @@<br>   }<br> }<br> <br>-int soc_get_rtc_failed(void)<br>-{<br>-  uint8_t reg8;<br>-        int rtc_failed;<br>-      uint8_t *pmcbase = pmc_mmio_regs();<br>-<br>-       reg8 = read8(pmcbase + GEN_PMCON_B);<br>- rtc_failed = reg8 & RTC_BATTERY_DEAD;<br>-    if (rtc_failed) {<br>-            reg8 &= ~RTC_BATTERY_DEAD;<br>-               write8(pmcbase + GEN_PMCON_B, reg8);<br>-         printk(BIOS_DEBUG, "rtc_failed = 0x%x\n", rtc_failed);<br>-     }<br>-    return rtc_failed;<br>-}<br>-<br> static void config_deep_sX(uint32_t offset, uint32_t mask, int sx, int enable)<br> {<br>        uint32_t reg;<br></pre><p>To view, visit <a href="https://review.coreboot.org/21616">change 21616</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/21616"/><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: I31c1966af413df3f5a5492a5dd891a6eb26a1fc4 </div>
<div style="display:none"> Gerrit-Change-Number: 21616 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>