aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/cyan/smihandler.c')
-rw-r--r--src/mainboard/google/cyan/smihandler.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/google/cyan/smihandler.c b/src/mainboard/google/cyan/smihandler.c
index 852d9c9a33..4db638441b 100644
--- a/src/mainboard/google/cyan/smihandler.c
+++ b/src/mainboard/google/cyan/smihandler.c
@@ -62,11 +62,9 @@ static uint8_t mainboard_smi_ec(void)
uint16_t pmbase = get_pmbase();
uint32_t 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: