mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
omap_hsmmc: implement driver check for card detection
Implement driver check for card detection. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
parent
cc22b0c012
commit
e874d5b001
28 changed files with 69 additions and 49 deletions
|
@ -161,7 +161,7 @@ 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 omap_mmc_init(int dev_index, uint host_caps_mask, uint f_max, int cd_gpio);
|
||||
|
||||
|
||||
#endif /* OMAP_MMC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue