diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2020-01-13 09:38:12 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-22 16:03:44 +0000 |
commit | 345f915b552d47d335c5caf50b90fb6bd2a9da3a (patch) | |
tree | ed28ad6cbbed300c36c6eb280a778a3999463fd5 | |
parent | 3273ea5617c09ef7e321052825dfc3d7a4ba083d (diff) | |
download | chrome-ec-345f915b552d47d335c5caf50b90fb6bd2a9da3a.tar.gz |
kohaku: Define CONFIG_MKBP_EVENT_WAKEUP_MASK as 0
This allows the AP to set MKBP wake masks, which will enable the EC to
wake the system from suspend states. The default is 0, which means that
the AP gets to choose which events will wake it from suspend.
BUG=b:144122000
BRANCH=firmware-hatch-12672.B
TEST=Verify 'ectool mkbpwakemask set event 0x400' succeeds.
Also verify with corresponding coreboot CL that the system can wake
from suspend when a DP-capable monitor is plugged in.
Change-Id: Ife726f341770e6c9cea2ffe39abc9d8ed38b0cbb
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2013640
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org>
(cherry picked from commit 106f7f5bd82c1e8b5e03b516da4faa11137a17e7)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2014880
-rw-r--r-- | board/kohaku/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/kohaku/board.h b/board/kohaku/board.h index 23b4b1c12f..a90e930c88 100644 --- a/board/kohaku/board.h +++ b/board/kohaku/board.h @@ -26,6 +26,9 @@ #undef CONFIG_UART_TX_BUF_SIZE #define CONFIG_UART_TX_BUF_SIZE 4096 +/* Don't wake up from suspend on any MKBP event */ +#define CONFIG_MKBP_EVENT_WAKEUP_MASK 0 + /* Keyboard features */ #define CONFIG_PWM_KBLIGHT |