[coreboot-gerrit] Change in coreboot[master]: mb/google/reef: Enable UHEPI on Reef
Jenny Tc (Code Review)
gerrit at coreboot.org
Wed Sep 20 17:28:33 CEST 2017
Jenny Tc has uploaded this change for review. ( https://review.coreboot.org/21610
Change subject: mb/google/reef: Enable UHEPI on Reef
......................................................................
mb/google/reef: Enable UHEPI on Reef
Unified Host Event Programming Interface (UHEPI) enables a unified host
command EC_CMD_PROGRAM_HOST_EVENT to set/get/clear different host events.
BRANCH=none
BUG=b:63969337
TEST=verify masks with ec hostevent command on S0,S3,S5 and S0ix
Change-Id: If56d1de5d1157c8cf9c418e3a9d2396ffcfcb0fd
Signed-off-by: Jenny TC <jenny.tc at intel.com>
---
M src/mainboard/google/reef/Kconfig
M src/mainboard/google/reef/ec.c
2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/21610/1
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index 41d3dcb..1c83604 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -21,6 +21,7 @@
select USE_SAR
select SAR_ENABLE
select DSAR_ENABLE
+ select CHROMEEC_UHEPI
if BOARD_GOOGLE_BASEBOARD_REEF
diff --git a/src/mainboard/google/reef/ec.c b/src/mainboard/google/reef/ec.c
index 59fa442..23cb35f 100644
--- a/src/mainboard/google/reef/ec.c
+++ b/src/mainboard/google/reef/ec.c
@@ -41,6 +41,11 @@
} else {
google_chromeec_log_events(MAINBOARD_EC_LOG_EVENTS |
MAINBOARD_EC_S5_WAKE_EVENTS);
+#if IS_ENABLED(CONFIG_CHROMEEC_UHEPI)
+ google_chromeec_set_lazy_wake_masks(MAINBOARD_EC_S5_WAKE_EVENTS,
+ MAINBOARD_EC_S3_WAKE_EVENTS,
+ MAINBOARD_EC_S3_WAKE_EVENTS);
+#endif
}
/* Clear wake event mask */
--
To view, visit https://review.coreboot.org/21610
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If56d1de5d1157c8cf9c418e3a9d2396ffcfcb0fd
Gerrit-Change-Number: 21610
Gerrit-PatchSet: 1
Gerrit-Owner: Jenny Tc <jenny.tc at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170920/af18877f/attachment-0001.html>
More information about the coreboot-gerrit
mailing list