From 644f1dc0f374c8ab7dfc1c0da64480de3a0bce55 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 8 Mar 2017 16:04:16 -0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/18693 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/include/elog.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/include/elog.h b/src/include/elog.h index 2734612a8a..f532ddab70 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -88,7 +88,13 @@ #define EC_EVENT_PD_MCU 0x16 #define EC_EVENT_BATTERY_STATUS 0x17 #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 */ #define ELOG_TYPE_POWER_FAIL 0x92