mb/google/grunt: Enable AC wake
This patch enables AC plug/unplug for resume. BUG=b:188457962 BRANCH=grunt TEST=Verified AC plug/unplug wakes up Treeya. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I10480f8224b909fefe42d46d7c03fc9d3fe5abfe Reviewed-on: https://review.coreboot.org/c/coreboot/+/67389 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
8c24006711
commit
55fe9ee03c
|
@ -38,7 +38,9 @@
|
||||||
#define MAINBOARD_EC_S3_WAKE_EVENTS \
|
#define MAINBOARD_EC_S3_WAKE_EVENTS \
|
||||||
(MAINBOARD_EC_S5_WAKE_EVENTS |\
|
(MAINBOARD_EC_S5_WAKE_EVENTS |\
|
||||||
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_MODE_CHANGE))
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_MODE_CHANGE) |\
|
||||||
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_CONNECTED) |\
|
||||||
|
EC_HOST_EVENT_MASK(EC_HOST_EVENT_AC_DISCONNECTED))
|
||||||
|
|
||||||
/* 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