From 6f9b5d62a0e284eff547c552b223571b84c66a32 Mon Sep 17 00:00:00 2001 From: Nicolas Boichat Date: Wed, 13 Dec 2017 15:47:03 +0800 Subject: ec_ec_comm_slave: EC-EC communication slave task and functions This adds functions required for the slave in EC-EC communication, including the task that processes requests from the master. This also adds required CONFIG_EC_EC_COMM_SLAVE/MASTER/BATTERY config options. BRANCH=none BUG=b:65697962 TEST=Build wand and lux boards, flash it, EC-EC communication works. Change-Id: I772d9023a830f4fbc37316ca31e4da8240de7324 Signed-off-by: Nicolas Boichat Reviewed-on: https://chromium-review.googlesource.com/828180 Reviewed-by: Vincent Palatin --- common/build.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'common/build.mk') diff --git a/common/build.mk b/common/build.mk index e48a7f2c35..2af1a0e3f7 100644 --- a/common/build.mk +++ b/common/build.mk @@ -46,6 +46,7 @@ common-$(CONFIG_DEDICATED_RECOVERY_BUTTON)+=button.o common-$(CONFIG_DEVICE_EVENT)+=device_event.o common-$(CONFIG_DEVICE_STATE)+=device_state.o common-$(CONFIG_DPTF)+=dptf.o +common-$(CONFIG_EC_EC_COMM_SLAVE)+=ec_ec_comm_slave.o common-$(CONFIG_EXTENSION_COMMAND)+=extension.o common-$(CONFIG_EXTPOWER_GPIO)+=extpower_gpio.o common-$(CONFIG_FANS)+=fan.o pwm.o -- cgit v1.2.1