summaryrefslogtreecommitdiff
path: root/src/soc/amd/cezanne/early_fch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/cezanne/early_fch.c')
-rw-r--r--src/soc/amd/cezanne/early_fch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/amd/cezanne/early_fch.c b/src/soc/amd/cezanne/early_fch.c
index cdb871b916..fdacb9f525 100644
--- a/src/soc/amd/cezanne/early_fch.c
+++ b/src/soc/amd/cezanne/early_fch.c
@@ -15,10 +15,10 @@
/* Table to switch SCL pins to outputs to initially reset the I2C peripherals */
static const struct soc_i2c_scl_pin i2c_scl_pins[] = {
- { PAD_GPO(I2C0_SCL_PIN, HIGH), GPIO_I2C0_SCL },
- { PAD_GPO(I2C1_SCL_PIN, HIGH), GPIO_I2C1_SCL },
- { PAD_GPO(I2C2_SCL_PIN, HIGH), GPIO_I2C2_SCL },
- { PAD_GPO(I2C3_SCL_PIN, HIGH), GPIO_I2C3_SCL },
+ I2C_RESET_SCL_PIN(I2C0_SCL_PIN, GPIO_I2C0_SCL),
+ I2C_RESET_SCL_PIN(I2C1_SCL_PIN, GPIO_I2C1_SCL),
+ I2C_RESET_SCL_PIN(I2C2_SCL_PIN, GPIO_I2C2_SCL),
+ I2C_RESET_SCL_PIN(I2C3_SCL_PIN, GPIO_I2C3_SCL),
};
static void reset_i2c_peripherals(void)