Patchwork [U-Boot] tegra: paz00: fix typo in SD slot CD detect GPIO

login
register
mail settings
Submitter Stephen Warren
Date May 15, 2012, 9:58 p.m.
Message ID <1337119091-3262-1-git-send-email-swarren@wwwdotorg.org>
Download mbox | patch
Permalink /patch/159460/
State Accepted
Commit aa53c7f55fdf93d4377b4eecbfc235144902cc91
Headers show

Comments

Stephen Warren - May 15, 2012, 9:58 p.m.
From: Stephen Warren <swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 board/compal/paz00/paz00.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/board/compal/paz00/paz00.c b/board/compal/paz00/paz00.c
index 3b48917..b07ce11 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;
 }