<p>Duncan Laurie has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20427">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">elog: Update for EC Device Events<br><br>Replace the unused "thermal overload" event with the new<br>"device event" and define the first few device events that are<br>supported by the Chromium EC.<br><br>BUG=b:30624430<br>TEST=build for google/* mainboards<br><br>Change-Id: I1f3aeedb87c2aad29a0a67b5c50c29a6961fb45f<br>Signed-off-by: Duncan Laurie <dlaurie@chromium.org><br>---<br>M src/include/elog.h<br>1 file changed, 7 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/27/20427/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/include/elog.h b/src/include/elog.h<br>index ecda87d..c960186 100644<br>--- a/src/include/elog.h<br>+++ b/src/include/elog.h<br>@@ -73,7 +73,7 @@<br> #define EC_EVENT_BATTERY_CRITICAL            0x07<br> #define EC_EVENT_BATTERY                     0x08<br> #define EC_EVENT_THERMAL_THRESHOLD           0x09<br>-#define EC_EVENT_THERMAL_OVERLOAD            0x0a<br>+#define EC_EVENT_DEVICE_EVENT                0x0a<br> #define EC_EVENT_THERMAL                     0x0b<br> #define EC_EVENT_USB_CHARGER                 0x0c<br> #define EC_EVENT_KEY_PRESSED                 0x0d<br>@@ -206,6 +206,12 @@<br> /* Deep Sx wake variant */<br> #define ELOG_TYPE_ACPI_DEEP_WAKE          0xad<br> <br>+/* EC Device Event */<br>+#define ELOG_TYPE_EC_DEVICE_EVENT         0xae<br>+#define ELOG_EC_DEVICE_EVENT_TRACKPAD       0x01<br>+#define ELOG_EC_DEVICE_EVENT_DSP            0x02<br>+#define ELOG_EC_DEVICE_EVENT_WIFI           0x03<br>+<br> #if CONFIG_ELOG<br> /* Eventlog backing storage must be initialized before calling elog_init(). */<br> extern int elog_init(void);<br></pre><p>To view, visit <a href="https://review.coreboot.org/20427">change 20427</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/20427"/><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: I1f3aeedb87c2aad29a0a67b5c50c29a6961fb45f </div>
<div style="display:none"> Gerrit-Change-Number: 20427 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Duncan Laurie <dlaurie@chromium.org> </div>