From f448302167eda3549c173c7eee9c4c3bccf2baa0 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 11 Jan 2012 12:42:26 +0000 Subject: [PATCH] tegra: Use funcmux for MMC on tamonten Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- board/avionic-design/common/tamonten.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/board/avionic-design/common/tamonten.c b/board/avionic-design/common/tamonten.c index 97e59fb324..f23b657041 100644 --- a/board/avionic-design/common/tamonten.c +++ b/board/avionic-design/common/tamonten.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -63,14 +64,7 @@ int timer_init(void) */ static void pin_mux_mmc(void) { - /* SDMMC4: config 3, x8 on 2nd set of pins */ - pinmux_set_func(PINGRP_ATB, PMUX_FUNC_SDIO4); - pinmux_set_func(PINGRP_GMA, PMUX_FUNC_SDIO4); - pinmux_set_func(PINGRP_GME, PMUX_FUNC_SDIO4); - - pinmux_tristate_disable(PINGRP_ATB); - pinmux_tristate_disable(PINGRP_GMA); - pinmux_tristate_disable(PINGRP_GME); + funcmux_select(PERIPH_ID_SDMMC4, FUNCMUX_SDMMC4_ATB_GMA_GME_8_BIT); } #endif -- 2.30.2