This is now handled automatically by the pinctrl driver.

Signed-off-by: Samuel Holland <sam...@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

Reply via email to