diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-07 00:53:21 +0200 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-07 00:53:21 +0200 |
| commit | 90007da3e997a3bb585dca2b58b2337a178b3f53 (patch) | |
| tree | 9c2b49b93f4e7e36eaab54c188e6fdf8989e2fae | |
| parent | 070e27933c71c9dc58e411d365e25fabb29138fa (diff) | |
| download | rockbox-90007da3e997a3bb585dca2b58b2337a178b3f53.zip rockbox-90007da3e997a3bb585dca2b58b2337a178b3f53.tar.gz rockbox-90007da3e997a3bb585dca2b58b2337a178b3f53.tar.bz2 rockbox-90007da3e997a3bb585dca2b58b2337a178b3f53.tar.xz | |
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
| -rw-r--r-- | firmware/target/arm/imx233/sdmmc-imx233.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sdmmc-imx233.c b/firmware/target/arm/imx233/sdmmc-imx233.c index 7bc6d70..708e3c2 100644 --- a/firmware/target/arm/imx233/sdmmc-imx233.c +++ b/firmware/target/arm/imx233/sdmmc-imx233.c @@ -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 |