The Blackfin SDH controller is still using the legacy framework, so update
the driver to use the renamed functions.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
printf("MMC_CMD_SET_BLOCKLEN failed\n");
goto out;
}
- ret = mmc_cmd(MMC_CMD_WRITE_BLOCK,
+ ret = mmc_cmd(MMC_CMD_WRITE_SINGLE_BLOCK,
start * mmc_blkdev.blksz, resp,
MMC_RSP_R1);
if (ret) {
return ret;
}
-int mmc_init(int verbose)
+int mmc_legacy_init(int verbose)
{
__u16 pwr_ctl = 0;
int ret;
return 0;
}
-int mmc_read(ulong src, uchar *dst, int size)
-{
- return -ENOSYS;
-}
-
-int mmc_write(uchar *src, ulong dst, int size)
-{
- return -ENOSYS;
-}
-
int mmc2info(ulong addr)
{
return 0;