Commit abb5466c authored by Andy Fleming's avatar Andy Fleming
Browse files

Convert mmc_init to mmc_legacy_init



This is to get it out of the way of incoming MMC framework
Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
parent b2e2ed02
......@@ -27,7 +27,7 @@
int do_mmc (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
if (mmc_init (1) != 0) {
if (mmc_legacy_init (1) != 0) {
printf ("No MMC card found\n");
return 1;
}
......
......@@ -93,12 +93,12 @@ static int mmc_hw_get_parameters(void)
return 0;
}
int mmc_init(int verbose)
int mmc_legacy_init(int verbose)
{
int ret = -ENODEV;
if (verbose)
printf("mmc_init\n");
printf("mmc_legacy_init\n");
spi_init();
/* this meeds to be done twice */
......
......@@ -543,7 +543,7 @@ static void mmc_decode_csd(uint32_t * resp)
int
/****************************************************/
mmc_init(int verbose)
mmc_legacy_init(int verbose)
/****************************************************/
{
int retries, rc = -ENODEV;
......
......@@ -463,7 +463,7 @@ static void mci_set_data_timeout(struct mmc_csd *csd)
dtocyc << shift, dtor);
}
int mmc_init(int verbose)
int mmc_legacy_init(int verbose)
{
struct mmc_cid cid;
struct mmc_csd csd;
......
......@@ -49,7 +49,7 @@
#define SD_CMD_APP_SET_BUS_WIDTH 6
#define SD_CMD_APP_SEND_OP_COND 41
int mmc_init(int verbose);
int mmc_legacy_init(int verbose);
int mmc_read(ulong src, uchar *dst, int size);
int mmc_write(uchar *src, ulong dst, int size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment