summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDossym Nurmukhanov <dossym@google.com>2020-12-11 13:51:51 -0800
committerCommit Bot <commit-bot@chromium.org>2020-12-12 12:55:46 +0000
commitabd894e1c9e01462ce5cf4cc4691a75f4e1378de (patch)
tree693fc8ee261d76c02863fc6d100e858b5dc29bd1 /include
parent61022575d3c8b75d07e4f3be3f1616e45767f673 (diff)
downloadchrome-ec-abd894e1c9e01462ce5cf4cc4691a75f4e1378de.tar.gz
COIL: Rename EC-EC comm config to be inclusive
Use server/client nomenclature instead BUG=none TEST=build and run on volteer BRANCH=none Signed-off-by: dossym@chromium.org Change-Id: I2cf4a82291134378ed21bbc068361f1be25e8176 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2587574 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 8606ac52b0..03c5c6623b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1522,10 +1522,10 @@
/* Support for EC-EC communication */
/*
- * Board is master or slave in EC-EC communication.
+ * Board is client or server in EC-EC communication.
*/
-#undef CONFIG_EC_EC_COMM_MASTER
-#undef CONFIG_EC_EC_COMM_SLAVE
+#undef CONFIG_EC_EC_COMM_CLIENT
+#undef CONFIG_EC_EC_COMM_SERVER
/*
* Board support battery-related functions in EC-EC communication.
@@ -5335,13 +5335,13 @@
* Define derived configuration options for EC-EC communication
*/
#ifdef CONFIG_EC_EC_COMM_BATTERY
-#ifdef CONFIG_EC_EC_COMM_MASTER
+#ifdef CONFIG_EC_EC_COMM_CLIENT
#define CONFIG_EC_EC_COMM_BATTERY_MASTER
#define CONFIG_BATTERY_V2
#define CONFIG_BATTERY_COUNT 2
#endif
-#ifdef CONFIG_EC_EC_COMM_SLAVE
+#ifdef CONFIG_EC_EC_COMM_SERVER
#define CONFIG_EC_EC_COMM_BATTERY_SLAVE
#define CONFIG_BATTERY_V2
#define CONFIG_BATTERY_COUNT 1