diff options
author | Nikita Kiryanov <nikita@compulab.co.il> | 2012-12-03 02:19:47 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-08 16:41:13 -0500 |
commit | e3913f56a26dbb49758370320dac477ab0324631 (patch) | |
tree | b2a989a6483ef53c309b0e16f774b8d2007c9bfd /arch/arm/include/asm | |
parent | d23d8d7e069c3aca071b7f68d9c15d11f8d4c84d (diff) | |
download | u-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 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/omap_mmc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h index 8d86de1..617e22f 100644 --- a/arch/arm/include/asm/omap_mmc.h +++ b/arch/arm/include/asm/omap_mmc.h @@ -161,7 +161,8 @@ struct hsmmc { #define mmc_reg_out(addr, mask, val)\ writel((readl(addr) & (~(mask))) | ((val) & (mask)), (addr)) -int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio); +int omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio, + int wp_gpio); #endif /* OMAP_MMC_H_ */ |