summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangheui Won <khwon@chromium.org>2020-03-09 14:25:41 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-03-11 06:29:31 +0000
commit5674bf15f929932f7cbfd6c1e36a26510d9ec0bf (patch)
treec479f07c7fb514b1ae2478f15a789b150ac5e534
parent69a88ddb5d2f7e783f5dbe93e7dcf4594d245aca (diff)
downloadcoreboot-5674bf15f929932f7cbfd6c1e36a26510d9ec0bf.tar.xz
mb/google/puff: Enable cros_ec_keyb device
This is required to transmit button information from EC to kernel. BUG=b:150830342 BRANCH=None TEST=firmware_ECPowerButton test passes on puff Change-Id: I10ba9d55e8997ce2412deb0613cfcaa8f24f271d Signed-off-by: Kangheui Won <khwon@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39391 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--src/mainboard/google/hatch/variants/puff/include/variant/ec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/hatch/variants/puff/include/variant/ec.h b/src/mainboard/google/hatch/variants/puff/include/variant/ec.h
index 2c2e62d24f..0746c5e6d4 100644
--- a/src/mainboard/google/hatch/variants/puff/include/variant/ec.h
+++ b/src/mainboard/google/hatch/variants/puff/include/variant/ec.h
@@ -51,6 +51,9 @@
* ACPI related definitions for ASL code.
*/
+/* Enable cros_ec_keyb device */
+#define EC_ENABLE_MKBP_DEVICE
+
/* Enable EC backed PD MCU device in ACPI */
#define EC_ENABLE_PD_MCU_DEVICE