summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2017-05-25 00:13:01 -0700
committerFurquan Shaikh <furquan@google.com>2017-05-27 05:29:15 +0200
commitb858157dbaf2914439fcca434a72a16ad551e6e3 (patch)
treea8afa72e9d63023dcac0d383a807efbe7f01647f
parenta8ca03223a433fefdf5de54e7bc9d7c0d6c14c3f (diff)
elog: Add more wake sources
Add wake sources for PME events generated by different devices. BUG=b:37088992 Change-Id: I25098f489f401148171c235cb341f6e7bb2b635b Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/19923 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/include/elog.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h
index f18aa4b1b8..c11ff2aade 100644
--- a/src/include/elog.h
+++ b/src/include/elog.h
@@ -123,6 +123,28 @@
#define ELOG_WAKE_SOURCE_GPIO 0x04
#define ELOG_WAKE_SOURCE_SMBUS 0x05
#define ELOG_WAKE_SOURCE_PWRBTN 0x06
+#define ELOG_WAKE_SOURCE_PME_HDA 0x07
+#define ELOG_WAKE_SOURCE_PME_GBE 0x08
+#define ELOG_WAKE_SOURCE_PME_EMMC 0x09
+#define ELOG_WAKE_SOURCE_PME_SDCARD 0x0a
+#define ELOG_WAKE_SOURCE_PME_PCIE1 0x0b
+#define ELOG_WAKE_SOURCE_PME_PCIE2 0x0c
+#define ELOG_WAKE_SOURCE_PME_PCIE3 0x0d
+#define ELOG_WAKE_SOURCE_PME_PCIE4 0x0e
+#define ELOG_WAKE_SOURCE_PME_PCIE5 0x0f
+#define ELOG_WAKE_SOURCE_PME_PCIE6 0x10
+#define ELOG_WAKE_SOURCE_PME_PCIE7 0x11
+#define ELOG_WAKE_SOURCE_PME_PCIE8 0x12
+#define ELOG_WAKE_SOURCE_PME_PCIE9 0x13
+#define ELOG_WAKE_SOURCE_PME_PCIE10 0x14
+#define ELOG_WAKE_SOURCE_PME_PCIE11 0x15
+#define ELOG_WAKE_SOURCE_PME_PCIE12 0x16
+#define ELOG_WAKE_SOURCE_PME_SATA 0x17
+#define ELOG_WAKE_SOURCE_PME_CSE 0x18
+#define ELOG_WAKE_SOURCE_PME_CSE2 0x19
+#define ELOG_WAKE_SOURCE_PME_CSE3 0x1a
+#define ELOG_WAKE_SOURCE_PME_XHCI 0x1b
+#define ELOG_WAKE_SOURCE_PME_XDCI 0x1c
struct elog_event_data_wake {
u8 source;