<p>Marshall Dawson has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21881">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">google/kahlee: Add SMI sleep handler<br><br>Notify the EC the system is going to sleep.<br><br>Change-Id: I025e268a4f806d827348d91effff43a6a339a148<br>Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com><br>---<br>M src/mainboard/google/kahlee/smihandler.c<br>1 file changed, 7 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/81/21881/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/google/kahlee/smihandler.c b/src/mainboard/google/kahlee/smihandler.c<br>index 454b42e..f1c66a6 100644<br>--- a/src/mainboard/google/kahlee/smihandler.c<br>+++ b/src/mainboard/google/kahlee/smihandler.c<br>@@ -20,6 +20,13 @@<br> #include <soc/smi.h><br> #include "ec.h"<br> <br>+void mainboard_smi_sleep(u8 slp_typ)<br>+{<br>+   if (IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC))<br>+           chromeec_smi_sleep(slp_typ, MAINBOARD_EC_S3_WAKE_EVENTS,<br>+                                     MAINBOARD_EC_S5_WAKE_EVENTS);<br>+}<br>+<br> int mainboard_smi_apmc(u8 apmc)<br> {<br>    if (IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC))<br></pre><p>To view, visit <a href="https://review.coreboot.org/21881">change 21881</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/21881"/><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: I025e268a4f806d827348d91effff43a6a339a148 </div>
<div style="display:none"> Gerrit-Change-Number: 21881 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marshall Dawson <marshalldawson3rd@gmail.com> </div>