diff options
author | Aseda Aboagye <aaboagye@google.com> | 2019-07-02 10:38:56 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-02 23:12:48 +0000 |
commit | 4509620f1e7873ee239b558675a47c69f614a732 (patch) | |
tree | 62fd72e93bb2661389a09e1b25d6ff118da65dba /board/kukui | |
parent | 9ba43859c8ed86768e95ea01b7fc5a495af683a8 (diff) | |
download | chrome-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/kukui')
-rw-r--r-- | board/kukui/board.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/kukui/board.h b/board/kukui/board.h index 39e1260324..5680e1b2ec 100644 --- a/board/kukui/board.h +++ b/board/kukui/board.h @@ -228,8 +228,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_LID_OPEN) |\ EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON)) |