From 15c87718687ab4cfbe1f04b0a764645ca2e34ca7 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Thu, 8 Jun 2023 17:34:23 +0800 Subject: soc/mediatek/mt8195: Fix typo for SPIM2_MI Fix a typo in an enum type name, "PIM2_MI" -> "SPIM2_MI". TEST=emerge-cherry coreboot Signed-off-by: Yidi Lin Change-Id: Ib43a044dc69a93ad1dcaa5e65c66a82046a40777 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75726 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/soc/mediatek/mt8195/include/soc/gpio.h | 2 +- src/soc/mediatek/mt8195/spi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/soc/mediatek/mt8195/include/soc/gpio.h b/src/soc/mediatek/mt8195/include/soc/gpio.h index 08fb64b06e..60f3af1d41 100644 --- a/src/soc/mediatek/mt8195/include/soc/gpio.h +++ b/src/soc/mediatek/mt8195/include/soc/gpio.h @@ -467,7 +467,7 @@ enum { SPIM2_MO, SPINOR_IO0, SNFI_MOSI, DMIC4_DAT, RES5, RES6, DBG_MON_A12), PIN(143, SPIM2_MI, 0, 19, 0x21, 0xb0, - PIM2_MI, SPINOR_IO1, SNFI_MISO, DMIC4_CLK, + SPIM2_MI, SPINOR_IO1, SNFI_MISO, DMIC4_CLK, RES5, RES6, DBG_MON_A13), }; diff --git a/src/soc/mediatek/mt8195/spi.c b/src/soc/mediatek/mt8195/spi.c index 2772612b09..98b0d54a08 100644 --- a/src/soc/mediatek/mt8195/spi.c +++ b/src/soc/mediatek/mt8195/spi.c @@ -56,7 +56,7 @@ static const struct pad_func pad0_funcs[SPI_BUS_NUMBER][4] = { PAD_FUNC(SPIM1_CLK, SPIM1_CLK), }, { - PAD_FUNC(SPIM2_MI, PIM2_MI), + PAD_FUNC(SPIM2_MI, SPIM2_MI), PAD_FUNC_GPIO(SPIM2_CSB), PAD_FUNC(SPIM2_MO, SPIM2_MO), PAD_FUNC(SPIM2_CLK, SPIM2_CLK), -- cgit v1.2.3