elog: Add all EC event codes

Add the missing EC event codes in elog.h and correct the event code value for
RECOVERY_HWREINIT.

Change-Id: If9fb319cce1e4acce4b3d7c3a39365986856a9b4
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/18693
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Furquan Shaikh 2017-03-08 16:04:16 -08:00 committed by Furquan Shaikh
parent 45fde705b6
commit 644f1dc0f3
1 changed files with 7 additions and 1 deletions

View File

@ -88,7 +88,13 @@
#define EC_EVENT_PD_MCU 0x16 #define EC_EVENT_PD_MCU 0x16
#define EC_EVENT_BATTERY_STATUS 0x17 #define EC_EVENT_BATTERY_STATUS 0x17
#define EC_EVENT_PANIC 0x18 #define EC_EVENT_PANIC 0x18
#define EC_EVENT_KEYBOARD_RECOVERY_HWREINIT 0x19 #define EC_EVENT_KEYBOARD_FASTBOOT 0x19
#define EC_EVENT_RTC 0x1a
#define EC_EVENT_MKBP 0x1b
#define EC_EVENT_USB_MUX 0x1c
#define EC_EVENT_MODE_CHANGE 0x1d
#define EC_EVENT_KEYBOARD_RECOVERY_HWREINIT 0x1e
#define EC_EVENT_EXTENDED 0x1f
/* Power */ /* Power */
#define ELOG_TYPE_POWER_FAIL 0x92 #define ELOG_TYPE_POWER_FAIL 0x92