summaryrefslogtreecommitdiff
path: root/chip/stm32/host_command_common.c
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-11-03 14:58:57 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-05 01:28:40 +0000
commite609f07eef8b851b19bf4b59b5263ac702d8b871 (patch)
tree2211fbef28040cfbc9ce9831b310524c1e06ec72 /chip/stm32/host_command_common.c
parent899412aaf662619fbf66bbdc0398c7d69aebc482 (diff)
downloadchrome-ec-e609f07eef8b851b19bf4b59b5263ac702d8b871.tar.gz
COIL: Rename CONFIG_I2C_PERIPHERAL
Rename CONFIG_I2C_PERIPHERAL and related comments. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I3f148e976f3a4d6a1dc6c58686368c056290d5d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518660 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip/stm32/host_command_common.c')
-rw-r--r--chip/stm32/host_command_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/stm32/host_command_common.c b/chip/stm32/host_command_common.c
index bb1c6b1830..b39a298c64 100644
--- a/chip/stm32/host_command_common.c
+++ b/chip/stm32/host_command_common.c
@@ -9,7 +9,7 @@
#include "spi.h"
#include "usart_host_command.h"
-#ifndef CONFIG_I2C_SLAVE
+#ifndef CONFIG_I2C_PERIPHERAL
/* Store current transport type */
static enum fp_transport_type curr_transport_type = FP_TRANSPORT_TYPE_UNKNOWN;
@@ -43,4 +43,4 @@ DECLARE_HOST_COMMAND(EC_CMD_GET_PROTOCOL_INFO,
host_command_protocol_info,
EC_VER_MASK(0));
-#endif /* CONFIG_I2C_SLAVE */
+#endif /* CONFIG_I2C_PERIPHERAL */