Aaron Durbin (adurbin@chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17230
-gerrit
commit 6f02a7b324fdfebc4349d305e588f2df3dc4703c Author: Aaron Durbin adurbin@chromium.org Date: Fri Nov 4 10:53:43 2016 -0500
elog: add sources to reflect full event type namespace usage
Some events were added in other places, but coreboot's elog namespace wasn't updated. As such there's a collision with the thermtrip event. This change at least updates the elog information to reflect potential event type uage.
BUG=chrome-os-partner:59395
Change-Id: Ib82e2b65ef7d34e260b7d7450174aee7537b69f6 Signed-off-by: Aaron Durbin adurbin@chromium.org --- src/include/elog.h | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/src/include/elog.h b/src/include/elog.h index 504c52e..3df9a4c 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -142,6 +142,13 @@ struct elog_event_data_me_extended { /* CPU Thermal Trip */ #define ELOG_TYPE_THERM_TRIP 0xa7
+/* ARM/generic versions of sleep/wake - These came from another firmware + * apparently, but not all the firmware sources were updated so that the + * elog namespace was coherent. */ +#define ELOG_TYPE_SLEEP 0xa7 +#define ELOG_TYPE_WAKE 0xa8 +#define ELOG_TYPE_FW_WAKE 0xa9 + #if CONFIG_ELOG /* Eventlog backing storage must be initialized before calling elog_init(). */ extern int elog_init(void);