diff options
author | Josie Nordrum <JosieNordrum@google.com> | 2020-09-24 16:55:17 -0600 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2020-10-07 18:41:08 +0000 |
commit | 02d4b7278dca17316c5f9ff4222764cdab9b8992 (patch) | |
tree | 2b8c2589f0652126d338f12ae69334954f0bd739 /src/mainboard/google/zork/variants/baseboard/include | |
parent | 326a499f6fd81bb4a48618cc6fbe3340f4adb37e (diff) |
mb/google/zork: Add EC device wakeup for morphius
Add support for trackpoint wakeup from S3 by adding device events to
mainboard and defining for morphius.
BUG=b:160345665
BRANCH=zork
TEST=tested trackpoint wake from S3 on morphius DVT
Signed-off-by: Josie Nordrum <josienordrum@google.com>
Change-Id: I982f0f4b60fbaeb389774531e1dee83da77cb8a1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45965
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/zork/variants/baseboard/include')
-rw-r--r-- | src/mainboard/google/zork/variants/baseboard/include/baseboard/ec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/include/baseboard/ec.h b/src/mainboard/google/zork/variants/baseboard/include/baseboard/ec.h index ff42989286..dc06a7843f 100644 --- a/src/mainboard/google/zork/variants/baseboard/include/baseboard/ec.h +++ b/src/mainboard/google/zork/variants/baseboard/include/baseboard/ec.h @@ -46,6 +46,9 @@ EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_SHUTDOWN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_PANIC)) +/* EC device events to enable and log in S3 */ +#define MAINBOARD_EC_S3_DEVICE_EVENTS 0 + /* Enable LID switch */ #define EC_ENABLE_LID_SWITCH #define EC_ENABLE_WAKE_PIN EC_WAKE_GPI |