woodburn: Set Write Protection GPIO as input
PATCH 1/1 woodburn: Set Write Protection GPIO as input
From: Fabio Estevam <[email protected]>
Set Write Protection GPIO as input.
Signed-off-by Fabio Estevam <[email protected]>
--- board/woodburn/woodburn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
board/woodburn/woodburn.c +2 -1
@@ -241,9 +241,10 @@ int board_mmc_init(bd_t *bis)mxc_iomux_set_input (MUX_IN_GPIO1_IN_7 ,0x1 );gpio_direction_input (GPIO_MMC_CD ); +/* MMC Write Protection on GPIO1_8 */ mxc_request_iomux (MX35_PIN_FST ,MUX_CONFIG_ALT5 );mxc_iomux_set_input (MUX_IN_GPIO1_IN_8 ,0x1 ); -gpio_direction_output (GPIO_MMC_WP ,0 ); +gpio_direction_input (GPIO_MMC_WP ); esdhc_cfg.sdhc_clk =mxc_get_clock (MXC_ESDHC1_CLK );
Signature · 1 line
1.7.9.5
PATCH 1/1 woodburn: Set Write Protection GPIO as input
Quoted 6 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Set Write Protection GPIO as input.
Signed-off-by Fabio Estevam <[email protected]>---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================