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>
This commit is contained in:
Nikita Kiryanov
2012-12-03 02:19:47 +00:00
committed by Tom Rini
parent d23d8d7e06
commit e3913f56a2
28 changed files with 47 additions and 36 deletions

View File

@@ -304,7 +304,7 @@ int board_eth_init(bd_t *bis)
!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