summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/auron/smihandler.c')
-rw-r--r--src/mainboard/google/auron/smihandler.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/google/auron/smihandler.c b/src/mainboard/google/auron/smihandler.c
index 790eeff77c..4cc0aa8221 100644
--- a/src/mainboard/google/auron/smihandler.c
+++ b/src/mainboard/google/auron/smihandler.c
@@ -33,11 +33,9 @@ static u8 mainboard_smi_ec(void)
u8 cmd = google_chromeec_get_event();
u32 pm1_cnt;
-#if CONFIG(ELOG_GSMI)
/* Log this event */
if (cmd)
- elog_add_event_byte(ELOG_TYPE_EC_EVENT, cmd);
-#endif
+ elog_gsmi_add_event_byte(ELOG_TYPE_EC_EVENT, cmd);
switch (cmd) {
case EC_HOST_EVENT_LID_CLOSED: