summaryrefslogtreecommitdiff
path: root/board/ti/am3517crane
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2012-12-03 02:19:47 +0000
committerTom Rini <trini@ti.com>2013-03-08 16:41:13 -0500
commite3913f56a26dbb49758370320dac477ab0324631 (patch)
treeb2a989a6483ef53c309b0e16f774b8d2007c9bfd /board/ti/am3517crane
parentd23d8d7e069c3aca071b7f68d9c15d11f8d4c84d (diff)
downloadu-boot-imx-e3913f56a26dbb49758370320dac477ab0324631.zip
u-boot-imx-e3913f56a26dbb49758370320dac477ab0324631.tar.gz
u-boot-imx-e3913f56a26dbb49758370320dac477ab0324631.tar.bz2
omap_hsmmc: add driver check for write protection
Add check for write protection in omap mmc driver. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/ti/am3517crane')
-rw-r--r--board/ti/am3517crane/am3517crane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am3517crane/am3517crane.c b/board/ti/am3517crane/am3517crane.c
index 91b6822..0b94245 100644
--- a/board/ti/am3517crane/am3517crane.c
+++ b/board/ti/am3517crane/am3517crane.c
@@ -78,6 +78,6 @@ void set_muxconf_regs(void)
#if defined(CONFIG_GENERIC_MMC) && !defined(CONFIG_SPL_BUILD)
int board_mmc_init(bd_t *bis)
{
- return omap_mmc_init(0, 0, 0, -1);
+ return omap_mmc_init(0, 0, 0, -1, -1);
}
#endif