diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2017-12-13 15:47:03 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-12-20 05:49:33 -0800 |
commit | 6f9b5d62a0e284eff547c552b223571b84c66a32 (patch) | |
tree | 364706f8f68425d714860dd4454b4f55349f9667 /include/config.h | |
parent | 363853006e95854c4319126666636d0bd483cfcf (diff) | |
download | chrome-ec-6f9b5d62a0e284eff547c552b223571b84c66a32.tar.gz |
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 <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/828180
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 35f0821080..19b342acc3 100644 --- a/include/config.h +++ b/include/config.h @@ -882,6 +882,20 @@ /* Enable verbose output to UART console and extra timestamp print precision. */ #define CONFIG_CONSOLE_VERBOSE +/*****************************************************************************/ +/* Support for EC-EC communication */ + +/* + * Board is master or slave in EC-EC communication. + */ +#undef CONFIG_EC_EC_COMM_MASTER +#undef CONFIG_EC_EC_COMM_SLAVE + +/* + * Board support battery-related functions in EC-EC communication. + */ +#undef CONFIG_EC_EC_COMM_BATTERY + /* * Enable the experimental console. * |