summaryrefslogtreecommitdiffstats
path: root/src/include/elog.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-03-08 17:16:37 -0800
committerRonald G. Minnich <rminnich@gmail.com>2013-03-21 23:12:11 +0100
commitd604090b2866f4d8526731034e55e2ea65a305c6 (patch)
treefa8518a02e7991c1eaa925b9474a467d868de4d5 /src/include/elog.h
parent467f31de92ca2ed9df1530270e9aabdd69fe8f88 (diff)
downloadcoreboot-staging-d604090b2866f4d8526731034e55e2ea65a305c6.zip
coreboot-staging-d604090b2866f4d8526731034e55e2ea65a305c6.tar.gz
lynxpoint: Fix ELOG logging of power management events
This is updated to handle LynxPoint-H and LynxPoint-LP and a new wake event is added for the power button. Boot, suspend/resume, reboot, etc on WTM2 and then check the event log to see if expected events have been added. Change-Id: I15cbc3901d81f4fd77cc04de37ff5fa048f9d3e8 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/2817 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/elog.h')
-rw-r--r--src/include/elog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h
index a5b5a77..a65893c 100644
--- a/src/include/elog.h
+++ b/src/include/elog.h
@@ -113,6 +113,7 @@
#define ELOG_WAKE_SOURCE_RTC 0x03
#define ELOG_WAKE_SOURCE_GPIO 0x04
#define ELOG_WAKE_SOURCE_SMBUS 0x05
+#define ELOG_WAKE_SOURCE_PWRBTN 0x06
struct elog_event_data_wake {
u8 source;
u32 instance;
OpenPOWER on IntegriCloud