summaryrefslogtreecommitdiff
path: root/board/woodburn/woodburn.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2013-02-15 17:46:50 -0600
committerKim Phillips <kim.phillips@freescale.com>2013-02-15 17:46:50 -0600
commit9a82b10c6657c5744802971036bb564ebc660291 (patch)
treeb276e71216b06494aa78d45d740b66e31c566233 /board/woodburn/woodburn.c
parent9a32084ea0cf55d22384f083002ee9932e074f31 (diff)
parent9f024f62e4604274a23213dcee30016092e32e7b (diff)
downloadu-boot-imx-9a82b10c6657c5744802971036bb564ebc660291.zip
u-boot-imx-9a82b10c6657c5744802971036bb564ebc660291.tar.gz
u-boot-imx-9a82b10c6657c5744802971036bb564ebc660291.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot
Diffstat (limited to 'board/woodburn/woodburn.c')
-rw-r--r--board/woodburn/woodburn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/woodburn/woodburn.c b/board/woodburn/woodburn.c
index d74f360..5b044a9 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);