summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);