From 2f3484ca6a78f338d919552da906011a1f936016 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Tue, 5 Jan 2021 18:07:40 -0800 Subject: coil: pmu PERIPH_I2CS->PERIPH_I2CP BUG=b:175244613 TEST=make buildall -j Change-Id: I4bce647f39655249ddbaa16af917fdd8bf0ebd63 Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613457 Reviewed-by: Namyoon Woo --- chip/g/i2cs.c | 2 +- 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, -- cgit v1.2.1