]> git.sur5r.net Git - u-boot/commitdiff
arm: rmobile: silk: Fix GPIO4_31 initialization
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Tue, 24 Feb 2015 16:54:18 +0000 (18:54 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 25 Feb 2015 05:18:41 +0000 (14:18 +0900)
Use gpio_direction_output instead of gpio_set_value
since the latter does not set output GPIO direction.

Signed-off-by: Valentine Barshak <valentine.barshak+renesas@cogentembedded.com>
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/silk/silk.c

index 8fb729aec5a01f16e0054cb30ba42c2d5fd1659f..e12401053f84c9bc686321d2045d8826d1105184 100644 (file)
@@ -136,7 +136,7 @@ int board_mmc_init(bd_t *bis)
 #ifdef CONFIG_SH_MMCIF
        /* MMC0 */
        gpio_request(GPIO_GP_4_31, NULL);
-       gpio_set_value(GPIO_GP_4_31, 1);
+       gpio_direction_output(GPIO_GP_4_31, 1);
 
        ret = mmcif_mmc_init();
 #endif