mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
imx233: implement mmc card info
This one is a bit strange: our codebase just don't use it if there is both SD and MMC, so this missing function got unnoticed so far. Change-Id: Ifea4bb5140477b7637d033737594259cc44fb10e
This commit is contained in:
parent
070e27933c
commit
90007da3e9
1 changed files with 5 additions and 0 deletions
|
|
@ -982,4 +982,9 @@ int mmc_write_sectors(IF_MD(int mmc_drive,) unsigned long start, int count, cons
|
|||
return transfer_sectors(mmc_map[mmc_drive], start, count, (void *)buf, false);
|
||||
}
|
||||
|
||||
tCardInfo *mmc_card_info(int card_no)
|
||||
{
|
||||
return &SDMMC_INFO(mmc_map[card_no]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue