Stout: Add EC error reporting
Capture very early EC errors in the ELOG and power off the system. BUG=chrome-os-partner:13107 TEST=Cause the EC to report Thermal Sense, Fan, or Low Battery errors. Check ELOG on next boot. Change-Id: Ida98f81b1ac1f6b3ba16c0b98e5c64756606fd58 Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: https://gerrit.chromium.org/gerrit/48318 Reviewed-by: Stefan Reinauer <reinauer@google.com> Tested-by: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
parent
db77048df1
commit
3c4b88cdd5
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@
|
|||
#define EC_EVENT_KEYBOARD_RECOVERY 0x0f
|
||||
#define EC_EVENT_THERMAL_SHUTDOWN 0x10
|
||||
#define EC_EVENT_BATTERY_SHUTDOWN 0x11
|
||||
#define EC_EVENT_FAN_ERROR 0x12
|
||||
|
||||
/* Power */
|
||||
#define ELOG_TYPE_POWER_FAIL 0x92
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue