Mathew King has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/51269 )
Change subject: mb/google/guybrush: Log mainboard events to elog ......................................................................
mb/google/guybrush: Log mainboard events to elog
BUG=b:180653357 TEST=builds
Signed-off-by: Mathew King mathewk@chromium.org Change-Id: Ifd43d9cc1832d8ed8d90c68ba88b5667e3c04f89 --- M src/mainboard/google/guybrush/smihandler.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/51269/1
diff --git a/src/mainboard/google/guybrush/smihandler.c b/src/mainboard/google/guybrush/smihandler.c index 3a7333a..f65e3e2 100644 --- a/src/mainboard/google/guybrush/smihandler.c +++ b/src/mainboard/google/guybrush/smihandler.c @@ -3,7 +3,9 @@ #include <acpi/acpi.h> #include <baseboard/variants.h> #include <cpu/x86/smm.h> +#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/smm.h> +#include <elog.h> #include <gpio.h> #include <soc/smi.h> #include <variant/ec.h> @@ -29,3 +31,8 @@
return 0; } + +void elog_gsmi_cb_mainboard_log_wake_source(void) +{ + google_chromeec_log_events(MAINBOARD_EC_LOG_EVENTS | MAINBOARD_EC_S0IX_WAKE_EVENTS); +}