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:
Amaury Pouly 2013-09-07 00:53:21 +02:00
parent 070e27933c
commit 90007da3e9

View file

@ -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); 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 #endif