summaryrefslogtreecommitdiff
path: root/chip/stm32/i2c-stm32l.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/i2c-stm32l.c')
-rw-r--r--chip/stm32/i2c-stm32l.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/stm32/i2c-stm32l.c b/chip/stm32/i2c-stm32l.c
index 27f6eb92bb..6ff355c0ff 100644
--- a/chip/stm32/i2c-stm32l.c
+++ b/chip/stm32/i2c-stm32l.c
@@ -178,6 +178,10 @@ static void i2c_try_unwedge(int port, int force_unwedge)
enum gpio_signal scl, sda;
int i;
+ /*
+ * TODO(crosbug.com/p/23802): This requires defining GPIOs for both
+ * ports even if the board only supports one port.
+ */
if (port == I2C1) {
sda = GPIO_I2C1_SDA;
scl = GPIO_I2C1_SCL;