diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-05-19 10:50:02 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-05-22 18:47:21 +0200 |
commit | 75ef6ec29e7c8f65df96cba0c197580f0d3e9ece (patch) | |
tree | 1ae8bb32fe736898a04c62cb9d03d0417860fd40 /src/include | |
parent | fd8e00092a7d2b5ccc9bb832a8eafa2f2d1cddbf (diff) |
elog: Add a new elog type for deep Sx variant
This is useful for debugging based on eventlog to identify if platform
entered normal or deep Sx.
BUG=b:38436041
Change-Id: Ic7d8e5b8aafc07aed385fe3c4831ab7d29e1f890
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/19797
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/elog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/elog.h b/src/include/elog.h index 964e04099d..f18aa4b1b8 100644 --- a/src/include/elog.h +++ b/src/include/elog.h @@ -113,6 +113,7 @@ /* Sleep/Wake */ #define ELOG_TYPE_ACPI_ENTER 0x9d +/* Deep Sx wake variant is provided below - 0xad */ #define ELOG_TYPE_ACPI_WAKE 0x9e #define ELOG_TYPE_WAKE_SOURCE 0x9f #define ELOG_WAKE_SOURCE_PCIE 0x00 @@ -178,6 +179,9 @@ struct elog_event_mem_cache_update { /* Cr50 */ #define ELOG_TYPE_CR50_UPDATE 0xac +/* Deep Sx wake variant */ +#define ELOG_TYPE_ACPI_DEEP_WAKE 0xad + #if CONFIG_ELOG /* Eventlog backing storage must be initialized before calling elog_init(). */ extern int elog_init(void); |