[RFC PATCH 19/23] sunxi: Remove non-DM MMC pin setup

Samuel Holland samuel at sholland.org
Thu Oct 21 06:55:36 CEST 2021


This is now handled automatically by the pinctrl driver.

Signed-off-by: Samuel Holland <samuel at sholland.org>
---

 board/sunxi/board.c | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index d1fc95dfb2..88f01484bd 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -204,17 +204,6 @@ int board_init(void)
 		}
 	}
 
-#ifdef CONFIG_DM_MMC
-	/*
-	 * Temporary workaround for enabling MMC clocks until a sunxi DM
-	 * pinctrl driver lands.
-	 */
-	mmc_pinmux_setup(CONFIG_MMC_SUNXI_SLOT);
-#if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1
-	mmc_pinmux_setup(CONFIG_MMC_SUNXI_SLOT_EXTRA);
-#endif
-#endif	/* CONFIG_DM_MMC */
-
 	return 0;
 }
 
-- 
2.32.0



More information about the U-Boot mailing list