summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-11-04 10:53:43 -0500
committerFurquan Shaikh <furquan@google.com>2016-11-06 18:13:53 +0100
commitd5be4e3d7e7d092d3ea9dc98738c39ea43d3f738 (patch)
treecd4d19657bbc59112b890935c444949db398060a /src
parentd9b1050dfba7cc97b95ca9dcc72ae6172d8a1735 (diff)
downloadcoreboot-d5be4e3d7e7d092d3ea9dc98738c39ea43d3f738.tar.xz
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> Reviewed-on: https://review.coreboot.org/17230 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/elog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h
index e4350f55c7..bdbafc2b19 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);