diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ec/google/chromeec/ec_commands.h | 3 | ||||
-rw-r--r-- | src/mainboard/google/samus/ec.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/ec_commands.h b/src/ec/google/chromeec/ec_commands.h index bd94281169..725a652146 100644 --- a/src/ec/google/chromeec/ec_commands.h +++ b/src/ec/google/chromeec/ec_commands.h @@ -278,6 +278,9 @@ enum host_event_code { /* Battery Status flags have changed */ EC_HOST_EVENT_BATTERY_STATUS = 23, + /* EC encountered a panic, triggering an reset */ + EC_HOST_EVENT_PANIC = 24, + /* * The high bit of the event mask is not used as a host event code. If * it reads back as set, then the entire event mask should be diff --git a/src/mainboard/google/samus/ec.h b/src/mainboard/google/samus/ec.h index 1ba16777ce..9b932ac509 100644 --- a/src/mainboard/google/samus/ec.h +++ b/src/mainboard/google/samus/ec.h @@ -57,7 +57,8 @@ /* Log EC wake events plus EC shutdown events */ #define MAINBOARD_EC_LOG_EVENTS \ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_SHUTDOWN) |\ - EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_SHUTDOWN)) + EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_SHUTDOWN) |\ + EC_HOST_EVENT_MASK(EC_HOST_EVENT_PANIC)) #ifndef __ACPI__ extern void mainboard_ec_init(void); |