Skip to content

Commit a02ccaa

Browse files
committed
fix i2c controller mapping on TGL
In ADL we changed the slave port mapping to use ctrl instead of port Add baseboard to vscode project Signed-off-by: Kieran Levin <[email protected]>
1 parent 6aeca64 commit a02ccaa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

board/hx20/board.c

+1-1
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

+4
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)