diff options
-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 */ |