summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2017-08-22 19:58:43 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-23 19:04:20 -0700
commitc36102149845f7fb0238a0839f1e3fd96d89f0d7 (patch)
treed7ca159675e6ae6482defacbf0446a4d4f5c0ef2
parentbee02b49b0b587bb8c3ca69fe58558394d23f8b2 (diff)
downloadchrome-ec-c36102149845f7fb0238a0839f1e3fd96d89f0d7.tar.gz
scarlet: Enable waking up AP by power button
Meanwhile, we can disable waking up AP by key press, because there is no keyboard. BUG=none BRANCH=none TEST=when AP is in S3, verify 'powerbtn' command on ec console can wake up AP Change-Id: I60c58458cf6f7e1f16b5129c8748b386c9928415 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/627675 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/scarlet/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scarlet/board.h b/board/scarlet/board.h
index 0125417f49..97dcd16b25 100644
--- a/board/scarlet/board.h
+++ b/board/scarlet/board.h
@@ -172,7 +172,7 @@
#define CONFIG_MKBP_EVENT
/* Define the MKBP events which are allowed to wakeup AP in S3. */
#define CONFIG_MKBP_WAKEUP_MASK \
- (EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEY_PRESSED) |\
+ (EC_HOST_EVENT_MASK(EC_HOST_EVENT_POWER_BUTTON) |\
EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC))
#ifndef __ASSEMBLER__