summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2020-11-03 14:52:49 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-05 01:28:37 +0000
commit899412aaf662619fbf66bbdc0398c7d69aebc482 (patch)
treec8f0a938571a25a60cdadec0789db6b5842cc28f /common/main.c
parent1044b2dfac75e861f00e03bcfe3231506ca2ae93 (diff)
downloadchrome-ec-899412aaf662619fbf66bbdc0398c7d69aebc482.tar.gz
COIL: Rename CONFIG_I2C_CONTROLLER
Rename CONFIG_I2C_CONTROLLER and related comments. BRANCH=None BUG=None TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Ied6a1829bf54a5c9a32e6772982a4b8aa31aaf23 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518659 Reviewed-by: Daisuke Nojiri <dnojiri@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 e749c3e21f..c1228d0a7a 100644
--- a/common/main.c
+++ b/common/main.c
@@ -187,7 +187,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.