[U-Boot] [PATCH 1/4] arm: rmobile: silk: Fix GPIO4_31 initialization
Vladimir Barinov
vladimir.barinov at cogentembedded.com
Tue Feb 24 17:54:18 CET 2015
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 at cogentembedded.com>
Signed-off-by: Vladimir Barinov <vladimir.barinov+renesas at cogentembedded.com>
---
board/renesas/silk/silk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/renesas/silk/silk.c b/board/renesas/silk/silk.c
index 8fb729a..e124010 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
--
1.9.1
More information about the U-Boot
mailing list