From 4509620f1e7873ee239b558675a47c69f614a732 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 2 Jul 2019 10:38:56 -0700 Subject: cleanup: Rename CONFIG_MKBP_WAKEUP_MASK for clarity. CONFIG_MKBP_WAKEUP_MASK is a bit confusing and is wrongly named. The comment stated that "With this option, we can define the MKBP wakeup events in this mask (as a white list) in board level, those evets allow to interrupt AP during S3.". However, these events are NOT MKBP events at all but are instead host events. This commit tries to clear things up by renaming CONFIG_MKBP_WAKEUP_MASK to CONFIG_MKBP_HOST_EVENT_WAKEUP_MASK to better show that these events are in fact host events. BUG=b:136282898 BRANCH=None TEST=`make -j buildall` Change-Id: I42beadec8217435fd30e679ccf52d784a8ef99a0 Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1685784 Tested-by: Aseda Aboagye Reviewed-by: Alexandru M Stan Commit-Queue: Aseda Aboagye --- board/rainier/board.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/rainier') diff --git a/board/rainier/board.h b/board/rainier/board.h index 4903de557d..3827f97ea6 100644 --- a/board/rainier/board.h +++ b/board/rainier/board.h @@ -131,8 +131,8 @@ #define CONFIG_KEYBOARD_PROTOCOL_MKBP #define CONFIG_MKBP_EVENT #define CONFIG_MKBP_USE_GPIO -/* Define the MKBP events which are allowed to wakeup AP in S3. */ -#define CONFIG_MKBP_WAKEUP_MASK \ +/* Define the host events which are allowed to wakeup AP in S3. */ +#define CONFIG_MKBP_HOST_EVENT_WAKEUP_MASK \ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC)) -- cgit v1.2.1