diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-03-22 23:43:31 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-02 06:42:05 -0400 |
commit | d3c38d96b991d641a33f7748130dae008563cdc9 (patch) | |
tree | 077fd6ba20951460837e4029396f310c9e37c524 /drivers/mmc | |
parent | d248cfb2d940b742f6bfdba9b832a3df96da3101 (diff) | |
download | u-boot-imx-d3c38d96b991d641a33f7748130dae008563cdc9.zip u-boot-imx-d3c38d96b991d641a33f7748130dae008563cdc9.tar.gz u-boot-imx-d3c38d96b991d641a33f7748130dae008563cdc9.tar.bz2 |
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: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/bfin_sdh.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/mmc/bfin_sdh.c b/drivers/mmc/bfin_sdh.c index 7d6b495..16c9695 100644 --- a/drivers/mmc/bfin_sdh.c +++ b/drivers/mmc/bfin_sdh.c @@ -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; |