Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/75726?usp=email )
Change subject: soc/mediatek/mt8195: Fix typo for SPIM2_MI ......................................................................
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 --- M src/soc/mediatek/mt8195/include/soc/gpio.h M src/soc/mediatek/mt8195/spi.c 2 files changed, 2 insertions(+), 2 deletions(-)
Approvals: Hung-Te Lin: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/soc/mediatek/mt8195/include/soc/gpio.h b/src/soc/mediatek/mt8195/include/soc/gpio.h index 08fb64b..60f3af1 100644 --- a/src/soc/mediatek/mt8195/include/soc/gpio.h +++ b/src/soc/mediatek/mt8195/include/soc/gpio.h @@ -467,7 +467,7 @@ 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 2772612..98b0d54 100644 --- a/src/soc/mediatek/mt8195/spi.c +++ b/src/soc/mediatek/mt8195/spi.c @@ -56,7 +56,7 @@ 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),