summaryrefslogtreecommitdiff
path: root/board/link/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/link/board.c')
-rw-r--r--board/link/board.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/board/link/board.c b/board/link/board.c
index 0012a7bf7e..60b654c2b0 100644
--- a/board/link/board.c
+++ b/board/link/board.c
@@ -202,11 +202,9 @@ BUILD_ASSERT(ARRAY_SIZE(fans) == CONFIG_FANS);
/* I2C ports */
const struct i2c_port_t i2c_ports[] = {
- /* Note: battery and charger share a port. Only include it once in
- * this list so we don't double-initialize it. */
- {"batt_chg", I2C_PORT_BATTERY, 100},
- {"lightbar", I2C_PORT_LIGHTBAR, 400},
- {"thermal", I2C_PORT_THERMAL, 100},
+ {"batt_chg", 0, 100},
+ {"lightbar", 1, 400},
+ {"thermal", 5, 100},
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);