Skip to content

Commit af90fd7

Browse files
committed
fsp: tgl: disable T2 and T3 GPIOs configuration
To mirror SBL configuration
1 parent e6cf0b0 commit af90fd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/x86/tgl_fsp.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,8 @@ static const struct tgl_gpio_conf gpio_table[] = {
12441244
.gpio_dir = GPIO_DIR_OUTPUT,
12451245
.gpio_interrupt = GPIO_INTERRUPT_DISABLE,
12461246
.gpio_reset = GPIO_RESET_PLTRST},
1247-
{.gpio =
1247+
/* FUSA_DIAGTEST_PCHMODE and FUSA_DIAGTEST_EN, disabled in SBL*/
1248+
/* {.gpio =
12481249
{
12491250
.comm_port_id = GPIO_COMM_0_PORT_ID,
12501251
.cfg_offset = GPIO_GPPC_T2_CFG_OFF,
@@ -1265,7 +1266,7 @@ static const struct tgl_gpio_conf gpio_table[] = {
12651266
.gpio_mode = GPIO_MODE_GPIO,
12661267
.gpio_dir = GPIO_DIR_OUTPUT,
12671268
.gpio_interrupt = GPIO_INTERRUPT_DISABLE,
1268-
.gpio_reset = GPIO_RESET_PLTRST},
1269+
.gpio_reset = GPIO_RESET_PLTRST}, */
12691270
/* TPM */
12701271
{.gpio =
12711272
{

0 commit comments

Comments
 (0)