From: Fabio Estevam Date: Fri, 18 Jan 2013 23:57:45 +0000 (+0000) Subject: woodburn: Set Write Protection GPIO as input X-Git-Tag: v2013.04-rc1~48^2~34^2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4750953ed9370935be2adb1eb41444a7ad98efdb;p=u-boot woodburn: Set Write Protection GPIO as input Set Write Protection GPIO as input. Signed-off-by: Fabio Estevam --- diff --git a/board/woodburn/woodburn.c b/board/woodburn/woodburn.c index d74f360e13..5b044a95c0 100644 --- a/board/woodburn/woodburn.c +++ b/board/woodburn/woodburn.c @@ -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);