[coreboot-gerrit] Change in coreboot[master]: mainboard/google/fizz: Enable cros_ec_keyb device

Kevin Cheng (Code Review) gerrit at coreboot.org
Fri Sep 22 10:06:39 CEST 2017


Kevin Cheng has uploaded this change for review. ( https://review.coreboot.org/21633


Change subject: mainboard/google/fizz: Enable cros_ec_keyb device
......................................................................

mainboard/google/fizz: Enable cros_ec_keyb device

This is required to transmit button information from EC to kernel.

BUG=b:65980005
BRANCH=None
TEST=Verified using evtest that kernel is able to get button
press/release information from EC.

Change-Id: I3cd524aec47ca988d6044cb089e7aa7636e64ab2
Signed-off-by: Kevin Cheng <kevin.cheng at intel.com>
---
M src/mainboard/google/fizz/ec.h
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/33/21633/1

diff --git a/src/mainboard/google/fizz/ec.h b/src/mainboard/google/fizz/ec.h
index b95a772..4b40445 100644
--- a/src/mainboard/google/fizz/ec.h
+++ b/src/mainboard/google/fizz/ec.h
@@ -28,6 +28,7 @@
 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_CRITICAL)  |\
 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY)           |\
 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_BATTERY_STATUS)    |\
+	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_MKBP)              |\
 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_THERMAL_THRESHOLD) |\
 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_THROTTLE_START)    |\
 	 EC_HOST_EVENT_MASK(EC_HOST_EVENT_THROTTLE_STOP))
@@ -63,4 +64,6 @@
 #define SIO_EC_MEMMAP_ENABLE	/* EC Memory Map Resources */
 #define SIO_EC_HOST_ENABLE	/* EC Host Interface Resources */
 
+#define EC_ENABLE_MKBP_DEVICE	/* Enable cros_ec_keyb device */
+
 #endif

-- 
To view, visit https://review.coreboot.org/21633
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3cd524aec47ca988d6044cb089e7aa7636e64ab2
Gerrit-Change-Number: 21633
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Cheng <kevin.cheng at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170922/14e95ee2/attachment-0001.html>


More information about the coreboot-gerrit mailing list