mb/google/brya: Move EC_HOST_EVENT_USB_MUX wake event to S0ix only
If a USB_MUX_EVENT happens while the AP is in S3 during powerdown transtion (S0->S3->S5), this will cause the device to boot again after it has finished sequencing down to S5. Since S3 is not POR for ChromeOS devices anymore, change this event to wake from S3 and S0ix to just S0ix. BUG=b:206867635 TEST=emerge-brya coreboot Signed-off-by: Joey Peng <joey.peng@lcfc.corp-partner.google.com> Change-Id: Icdab40b6a845a34246d7da336f43e970f7908301 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59411 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
ef164196cb
commit
7cbf203d9b
|
@ -43,10 +43,10 @@
|
||||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) |\
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) |\
|
||||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) |\
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED) |\
|
||||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\
|
||||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_USB_MUX) |\
|
|
||||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE))
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE))
|
||||||
#define MAINBOARD_EC_S0IX_WAKE_EVENTS \
|
#define MAINBOARD_EC_S0IX_WAKE_EVENTS \
|
||||||
(MAINBOARD_EC_S3_WAKE_EVENTS |\
|
(MAINBOARD_EC_S3_WAKE_EVENTS |\
|
||||||
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_USB_MUX) |\
|
||||||
EC_HOST_EVENT_MASK(EC_HOST_EVENT_HANG_DETECT))
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_HANG_DETECT))
|
||||||
/* Log EC wake events plus EC shutdown events */
|
/* Log EC wake events plus EC shutdown events */
|
||||||
#define MAINBOARD_EC_LOG_EVENTS \
|
#define MAINBOARD_EC_LOG_EVENTS \
|
||||||
|
|
Loading…
Reference in New Issue