Skip to content

Commit e4ba618

Browse files
authored
Merge pull request #536 from FrameworkComputer/fix_hx20_i2c_crash
Fix I2C controller mapping on TGL
2 parents 6aeca64 + a02ccaa commit e4ba618

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

board/hx20/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int board_i2c_p2c(int port)
283283

284284

285285
const struct i2c_slv_port_t i2c_slv_ports[] = {
286-
{"pch", MCHP_I2C_PORT0, 0x50}
286+
{"pch", MCHP_I2C_CTRL3, 0x50}
287287
};
288288
const unsigned int i2c_slvs_used = ARRAY_SIZE(i2c_slv_ports);
289289

ec.code-workspace

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"name": "hx30",
1212
"path": "board/hx30"
1313
},
14+
{
15+
"name": "baseboard fwk",
16+
"path": "baseboard/fwk"
17+
},
1418
{
1519
"name": "mchp",
1620
"path": "chip/mchp"

0 commit comments

Comments
 (0)