mb/google/guybrush: Add EC_HOST_EVENT_HANG_DETECT to wake mask
Add EC_HOST_EVENT_HANG_DETECT to S3/S5/S0ix wake mask. This event is sent when the EC detects the AP didn't fully enter a sleep state. BUG=b:186571086 TEST=Trigger hang detect while AP is in S0ix, AP wakes from S0ix Change-Id: I09ccf609fc453c19b4fb1ddaa5a0c86d7a85aad1 Signed-off-by: Rob Barnes <robbarnes@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55365 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
parent
e689378d88
commit
c7d12f1165
|
@ -26,12 +26,13 @@
|
|||
|
||||
#define MAINBOARD_EC_SMI_EVENTS (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_CLOSED))
|
||||
|
||||
/* EC can wake from S5 with lid or power button */
|
||||
/* EC can wake from S5 with lid, power button or hang detection */
|
||||
#define MAINBOARD_EC_S5_WAKE_EVENTS \
|
||||
(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) \
|
||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON))
|
||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON) \
|
||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_HANG_DETECT))
|
||||
|
||||
/* EC can wake from S3 with lid, power button or mode change event */
|
||||
/* EC can wake from S3 with lid, power button, mode change event, or hang detection */
|
||||
#define MAINBOARD_EC_S3_WAKE_EVENTS \
|
||||
(MAINBOARD_EC_S5_WAKE_EVENTS | EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) \
|
||||
| EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) \
|
||||
|
|
Loading…
Reference in New Issue