summaryrefslogtreecommitdiff
path: root/board/rainier
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2019-07-02 10:38:56 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-02 23:12:48 +0000
commit4509620f1e7873ee239b558675a47c69f614a732 (patch)
tree62fd72e93bb2661389a09e1b25d6ff118da65dba /board/rainier
parent9ba43859c8ed86768e95ea01b7fc5a495af683a8 (diff)
downloadchrome-ec-4509620f1e7873ee239b558675a47c69f614a732.tar.gz
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 <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1685784 Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Alexandru M Stan <amstan@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/rainier')
-rw-r--r--board/rainier/board.h4
1 files changed, 2 insertions, 2 deletions
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))