Skip to content
Snippets Groups Projects
Commit d3c38d96 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: convert bfin_sdh to legacy mmc


The Blackfin SDH controller is still using the legacy framework, so update
the driver to use the renamed functions.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent d248cfb2
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ mmc_bwrite(int dev, unsigned long start, lbaint_t blkcnt, const void *buffer)
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) {
......@@ -462,7 +462,7 @@ static int mmc_init_card(struct mmc_cid *cid, int verbose)
return ret;
}
int mmc_init(int verbose)
int mmc_legacy_init(int verbose)
{
__u16 pwr_ctl = 0;
int ret;
......@@ -530,16 +530,6 @@ int mmc_init(int verbose)
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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment