diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-01-05 18:06:38 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-06 23:07:27 +0000 |
commit | 969da9518309e1ef8cadcf1fb2a2e382ebe59f75 (patch) | |
tree | ac99f03a72a06b688b968dd890a4ca8b6333fb99 /chip | |
parent | 1f788361bd6bba87bdd2c2c5c57abc1e775527c2 (diff) | |
download | chrome-ec-969da9518309e1ef8cadcf1fb2a2e382ebe59f75.tar.gz |
coil: pmu PERIPH_SPS->PERIPH_SPP
BUG=b:175244613
TEST=make buildall -j
Change-Id: I8c276d800c6c69fd12bca0b75dc1f8f60a30c096
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2613456
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/g/clock.c | 2 | ||||
-rw-r--r-- | chip/g/pmu.h | 6 | ||||
-rw-r--r-- | chip/g/sps.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/chip/g/clock.c b/chip/g/clock.c index c590ee0611..8d9913bf65 100644 --- a/chip/g/clock.c +++ b/chip/g/clock.c @@ -41,7 +41,7 @@ void clock_enable_module(enum module_id module, int enable) clock_func(PERIPH_SPI); break; case MODULE_SPI: - clock_func(PERIPH_SPS); + clock_func(PERIPH_SPP); break; case MODULE_USB: clock_func(PERIPH_USB0); diff --git a/chip/g/pmu.h b/chip/g/pmu.h index b84fab3fd5..6482440521 100644 --- a/chip/g/pmu.h +++ b/chip/g/pmu.h @@ -72,9 +72,9 @@ enum { PERIPH_SPI0 = 0x1a, PERIPH_SPI1 = 0x1b, - PERIPH_SPS = 0x1c, - PERIPH_SPS0 = 0x1c, - PERIPH_SPS0_TIMER = 0x1d, + PERIPH_SPP = 0x1c, + PERIPH_SPP0 = 0x1c, + PERIPH_SPP0_TIMER = 0x1d, PERIPH_SWDP = 0x1e, PERIPH_SWDP0 = 0x1e, diff --git a/chip/g/sps.c b/chip/g/sps.c index 5e26459dfc..78d3a01570 100644 --- a/chip/g/sps.c +++ b/chip/g/sps.c @@ -272,7 +272,7 @@ static void sps_init(void) if (!board_tpm_uses_spi()) return; - pmu_clock_en(PERIPH_SPS); + pmu_clock_en(PERIPH_SPP); /* The pinmux connections are preset, but we have to set IN/OUT */ GWRITE_FIELD(PINMUX, DIOA2_CTL, IE, 1); /* SPS_MOSI */ |