summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2020-01-13 09:38:12 -0700
committerCommit Bot <commit-bot@chromium.org>2020-01-22 00:05:00 +0000
commit106f7f5bd82c1e8b5e03b516da4faa11137a17e7 (patch)
treeefaa5cd4f4a51baab254872b74df0285bf4b0eb4
parent02262da3d35be2a0b73361923b8d3e841564beaf (diff)
downloadchrome-ec-106f7f5bd82c1e8b5e03b516da4faa11137a17e7.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>
-rw-r--r--board/kohaku/board.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/kohaku/board.h b/board/kohaku/board.h
index 135ad10dbe..6c030961d1 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