diff options
author | Kevin Cheng <kevin.cheng@intel.com> | 2017-09-22 15:07:24 +0800 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2017-09-26 18:44:16 +0000 |
commit | 7ec0e5a3879c85d4fe3b9c57f5e7665e45829d7d (patch) | |
tree | cdc3f96e2bc7b7e05a1510aab1c41d720cded171 /src | |
parent | c966075f46d8f54c3a799cd74bc4f3ec46fe553a (diff) |
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@intel.com>
Reviewed-on: https://review.coreboot.org/21633
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/fizz/ec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/fizz/ec.h b/src/mainboard/google/fizz/ec.h index b95a772126..4b4044523f 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 |