From 106f7f5bd82c1e8b5e03b516da4faa11137a17e7 Mon Sep 17 00:00:00 2001 From: Tim Wawrzynczak Date: Mon, 13 Jan 2020 09:38:12 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2013640 Reviewed-by: Paul Fagerburg Reviewed-by: Scott Collyer Commit-Queue: Paul Fagerburg --- board/kohaku/board.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/kohaku') 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 -- cgit v1.2.1