From: Stephen Warren <swarren@nvidia.com>
Date: Tue, 15 May 2012 11:58:11 +0000 (+0000)
Subject: tegra: paz00: fix typo in SD slot CD detect GPIO
X-Git-Tag: v2025.01-rc5-pxa1908~17673^2~35^2~24^2~209
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=aa53c7f55fdf93d4377b4eecbfc235144902cc91;p=u-boot.git

tegra: paz00: fix typo in SD slot CD detect GPIO

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
---

diff --git a/board/compal/paz00/paz00.c b/board/compal/paz00/paz00.c
index 3b48917430..b07ce11cf1 100644
--- a/board/compal/paz00/paz00.c
+++ b/board/compal/paz00/paz00.c
@@ -55,8 +55,8 @@ static void pin_mux_mmc(void)
 
 	/* For power GPIO PV1 */
 	pinmux_tristate_disable(PINGRP_UAC);
-	/* For CD GPIO PI5 */
-	pinmux_tristate_disable(PINGRP_ATC);
+	/* For CD GPIO PV5 */
+	pinmux_tristate_disable(PINGRP_GPV);
 }
 
 /* this is a weak define that we are overriding */
@@ -74,7 +74,7 @@ int board_mmc_init(bd_t *bd)
 
 	debug("board_mmc_init: init SD slot\n");
 	/* init dev 3, SD slot, with 4-bit bus */
-	tegra2_mmc_init(3, 4, GPIO_PV1, GPIO_PI5);
+	tegra2_mmc_init(3, 4, GPIO_PV1, GPIO_PV5);
 
 	return 0;
 }