Eliminate support for using MMC as memory
MMC cards are not memory, so we stop treating them that way. Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
@@ -645,18 +645,4 @@ mmc_init(int verbose)
|
||||
return rc;
|
||||
}
|
||||
|
||||
int mmc_ident(block_dev_desc_t * dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mmc2info(ulong addr)
|
||||
{
|
||||
if (addr >= CONFIG_SYS_MMC_BASE
|
||||
&& addr < CONFIG_SYS_MMC_BASE + (mmc_dev.lba * mmc_dev.blksz)) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_MMC */
|
||||
|
||||
Reference in New Issue
Block a user