From: Vladimir Barinov Date: Tue, 24 Feb 2015 16:54:18 +0000 (+0200) Subject: arm: rmobile: silk: Fix GPIO4_31 initialization X-Git-Tag: v2015.04-rc3~12^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=313ff58ec956b39d1bfd65275fc1d81763086a61;p=u-boot arm: rmobile: silk: Fix GPIO4_31 initialization Use gpio_direction_output instead of gpio_set_value since the latter does not set output GPIO direction. Signed-off-by: Valentine Barshak Signed-off-by: Vladimir Barinov Signed-off-by: Nobuhiro Iwamatsu --- diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c index 8fb729aec5..e12401053f 100644 --- a/board/renesas/silk/silk.c +++ b/board/renesas/silk/silk.c @@ -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