Convert mmc_init to mmc_legacy_init

This is to get it out of the way of incoming MMC framework

Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
Andy Fleming 2008-10-30 16:21:00 -05:00
parent b2e2ed0233
commit abb5466ccf
5 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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 */

View File

@ -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;

View File

@ -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;

View File

@ -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);