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>
This commit is contained in:
Yidi Lin 2023-06-08 17:34:23 +08:00 committed by Felix Held
parent 9362dd75d8
commit 15c8771868
2 changed files with 2 additions and 2 deletions

View File

@ -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),
};

View File

@ -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),