summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-01-05 18:07:40 -0800
committerCommit Bot <commit-bot@chromium.org>2021-01-06 23:07:30 +0000
commit2f3484ca6a78f338d919552da906011a1f936016 (patch)
tree815d08f54081b06936d9539ca8a42fcef08aca2a
parent969da9518309e1ef8cadcf1fb2a2e382ebe59f75 (diff)
downloadchrome-ec-2f3484ca6a78f338d919552da906011a1f936016.tar.gz
coil: pmu PERIPH_I2CS->PERIPH_I2CP
BUG=b:175244613 TEST=make buildall -j Change-Id: I4bce647f39655249ddbaa16af917fdd8bf0ebd63 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613457 Reviewed-by: Namyoon Woo <namyoon@chromium.org>
-rw-r--r--chip/g/i2cs.c2
-rw-r--r--chip/g/pmu.h4
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,