diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-18 23:57:45 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-01-21 12:05:22 +0100 |
commit | 4750953ed9370935be2adb1eb41444a7ad98efdb (patch) | |
tree | 8d9f01af35d5cfa749835e20c83bec47d76e700e /board/woodburn/woodburn.c | |
parent | 64a9386080b3c3fdf85ec5cfad093df23a9e2189 (diff) | |
download | u-boot-imx-4750953ed9370935be2adb1eb41444a7ad98efdb.zip u-boot-imx-4750953ed9370935be2adb1eb41444a7ad98efdb.tar.gz u-boot-imx-4750953ed9370935be2adb1eb41444a7ad98efdb.tar.bz2 |
woodburn: Set Write Protection GPIO as input
Set Write Protection GPIO as input.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/woodburn/woodburn.c')
-rw-r--r-- | board/woodburn/woodburn.c | 3 |
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); |