diff options
-rw-r--r-- | chip/g/i2cs.c | 2 | ||||
-rw-r--r-- | chip/g/pmu.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chip/g/i2cs.c b/chip/g/i2cs.c index 1992784c0b..6bebd1d784 100644 --- a/chip/g/i2cs.c +++ b/chip/g/i2cs.c @@ -124,7 +124,7 @@ static void i2cs_init(void) if (!board_tpm_uses_i2c()) return; - pmu_clock_en(PERIPH_I2CS); + pmu_clock_en(PERIPH_I2CP); memset(i2cs_buffer, 0, sizeof(i2cs_buffer)); diff --git a/chip/g/pmu.h b/chip/g/pmu.h index 6482440521..3256c53248 100644 --- a/chip/g/pmu.h +++ b/chip/g/pmu.h @@ -39,8 +39,8 @@ enum { PERIPH_I2C0 = 0xa, PERIPH_I2C1 = 0xb, - PERIPH_I2CS = 0xc, - PERIPH_I2CS0 = 0xc, + PERIPH_I2CP = 0xc, + PERIPH_I2CP0 = 0xc, PERIPH_KEYMGR = 0xd, PERIPH_KEYMGR0 = 0xd, |