summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
authorYidi Lin <yidilin@chromium.org>2023-06-08 17:34:23 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-06-12 15:29:59 +0000
commit15c87718687ab4cfbe1f04b0a764645ca2e34ca7 (patch)
tree4ad8ac815f6a361f13a11fc37ed066f73b0142e8 /src/soc/mediatek
parent9362dd75d805fea8bc95ff58d5abd42cbbb4c36a (diff)
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 <yidilin@chromium.org> Change-Id: Ib43a044dc69a93ad1dcaa5e65c66a82046a40777 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75726 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8195/include/soc/gpio.h2
-rw-r--r--src/soc/mediatek/mt8195/spi.c2
2 files changed, 2 insertions, 2 deletions
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),