summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-05 18:26:02 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-07 19:22:08 +0000
commit52e31db1b3b3a7c9b9d29a1e0ba3c4da27b346cd (patch)
tree16a7718673dbfeea1806442e7b9b1cd414d213ac /board
parentb4058b679f7e00e00005754b7c0095f427f3ca80 (diff)
downloadchrome-ec-52e31db1b3b3a7c9b9d29a1e0ba3c4da27b346cd.tar.gz
coil: i2cm->i2cc
BUG=b:175244613 TEST=make buildall -j Change-Id: I5318e7845c7b87a21b1fa9f5e99629513b7fbb80 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613504 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/cr50/gpio.inc2
-rw-r--r--board/cr50/usb_i2c.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/board/cr50/gpio.inc b/board/cr50/gpio.inc
index b0693b1930..ec09d88a4c 100644
--- a/board/cr50/gpio.inc
+++ b/board/cr50/gpio.inc
@@ -202,7 +202,7 @@ GPIO(UNWEDGE_I2CP_SCL, PIN(1, 5), GPIO_OUT_HIGH)
*/
/* Control the load switch powering the INA 3.3V rail */
GPIO(EN_PP3300_INA_L, PIN(0, 11), GPIO_ODR_HIGH)
-/* GPIOs used for I2CM pins for INAs */
+/* GPIOs used for I2CC pins for INAs */
GPIO(I2C_SCL_INA, PIN(0, 12), GPIO_INPUT)
GPIO(I2C_SDA_INA, PIN(0, 13), GPIO_INPUT)
diff --git a/board/cr50/usb_i2c.c b/board/cr50/usb_i2c.c
index 64f9cdeaaa..39e4a4f27c 100644
--- a/board/cr50/usb_i2c.c
+++ b/board/cr50/usb_i2c.c
@@ -65,10 +65,10 @@ static void ina_connect(void)
GWRITE(PINMUX, DIOB0_SEL, GC_PINMUX_I2C0_SCL_SEL);
/*
- * Initialize the i2cm module after the INAs are powered and the signal
+ * Initialize the i2cc module after the INAs are powered and the signal
* lines are connected.
*/
- i2cm_init();
+ i2cc_init();
usb_i2c_enabled = true;
}