summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-05 16:54:53 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-07 19:21:46 +0000
commit74d1673daa17d9503f21cdf86bfd552873d1aefa (patch)
tree8167f8bfb7a493bb203ef89ef8cb5c311fb3218a /common/main.c
parent96dd761f8a9a2858eb205efaf3bfa1352333f347 (diff)
downloadchrome-ec-74d1673daa17d9503f21cdf86bfd552873d1aefa.tar.gz
coil: CONFIG_I2C_MASTER -> CONFIG_I2C_CONTROLLER
BUG=b:175244613 TEST=make buildall -j Change-Id: I74900cd9113c12e5e08a0770e30f3abf69816302 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2611757 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index 5bbe6f8a55..458327a3c2 100644
--- a/common/main.c
+++ b/common/main.c
@@ -181,7 +181,7 @@ test_mockable __keep int main(void)
#ifdef CONFIG_HOSTCMD_X86
lpc_init_mask();
#endif
- if (IS_ENABLED(CONFIG_I2C_MASTER)) {
+ if (IS_ENABLED(CONFIG_I2C_CONTROLLER)) {
/*
* Some devices (like the I2C keyboards, CBI) need I2C access
* pretty early, so let's initialize the controller now.