summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2014-05-12 10:20:45 -0700
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-10-02 17:30:18 +0200
commitdaecc449ca1708a2412df6cd394e299ede36bfe2 (patch)
tree2a73354b10db1a09630c14dd08d9fc732e7751b5 /src
parente1dad0c0b9f3aaf7a5f09a48f44fa8d2d9ef1b72 (diff)
downloadcoreboot-daecc449ca1708a2412df6cd394e299ede36bfe2.tar.xz
elog: Add event type for CPU thermal trip
There is a status bit for this event in most intel chipsets that we can read and report. Start by adding the new event type. Change-Id: Ib06411e3b87a1d069fb469943dd445bee6c1291f Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/199370 Reviewed-by: Aaron Durbin <adurbin@chromium.org> (cherry picked from commit 386a06170ec5afb31d0fe93ace3afbaab897a598) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/7004 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r--src/include/elog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h
index eb8352dd3c..648ce42b38 100644
--- a/src/include/elog.h
+++ b/src/include/elog.h
@@ -145,6 +145,9 @@ struct elog_event_data_me_extended {
/* EC Shutdown Reason */
#define ELOG_TYPE_EC_SHUTDOWN 0xa5
+/* CPU Thermal Trip */
+#define ELOG_TYPE_THERM_TRIP 0xa7
+
extern int elog_init(void);
extern int elog_clear(void);
extern void elog_add_event_raw(u8 event_type, void *data, u8 data_size);