tegra: paz00: fix typo in SD slot CD detect GPIO
authorStephen Warren <swarren@nvidia.com>
Tue, 15 May 2012 11:58:11 +0000 (11:58 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:17 +0000 (14:07 +0200)
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/compal/paz00/paz00.c

index 3b4891743023fcec557848deaa693658d4f30798..b07ce11cf1480a25f2c408f7947f3a455e6343b7 100644 (file)
@@ -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;
 }