mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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:
parent
d23d8d7e06
commit
e3913f56a2
28 changed files with 47 additions and 36 deletions
|
@ -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_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue