summaryrefslogtreecommitdiff
path: root/board/stm32l476g-eval
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 /board/stm32l476g-eval
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 'board/stm32l476g-eval')
-rw-r--r--board/stm32l476g-eval/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/stm32l476g-eval/board.h b/board/stm32l476g-eval/board.h
index 4b8033207b..7d7616822b 100644
--- a/board/stm32l476g-eval/board.h
+++ b/board/stm32l476g-eval/board.h
@@ -37,7 +37,7 @@
#ifdef CTS_MODULE_I2C
#define CONFIG_I2C
-#define CONFIG_I2C_SLAVE
+#define CONFIG_I2C_PERIPHERAL
#define CONFIG_HOSTCMD_I2C_SLAVE_ADDR 0x3c
#define I2C_PORT_EC STM32_I2C2_PORT
#endif