diff options
Diffstat (limited to 'cpu')
| -rw-r--r-- | cpu/arm720t/lpc2292/mmc.c | 26 | ||||
| -rw-r--r-- | cpu/pxa/mmc.c | 14 | 
2 files changed, 0 insertions, 40 deletions
| diff --git a/cpu/arm720t/lpc2292/mmc.c b/cpu/arm720t/lpc2292/mmc.c index fd7f149b6..792a88471 100644 --- a/cpu/arm720t/lpc2292/mmc.c +++ b/cpu/arm720t/lpc2292/mmc.c @@ -128,30 +128,4 @@ int mmc_init(int verbose)  	return ret;  } -int mmc_write(uchar * src, ulong dst, int size) -{ -#ifdef MMC_DEBUG -	printf("mmc_write: src=%p, dst=%lu, size=%u\n", src, dst, size); -#endif -	/* Since mmc2info always returns 0 this function will never be called */ -	return 0; -} - -int mmc_read(ulong src, uchar * dst, int size) -{ -#ifdef MMC_DEBUG -	printf("mmc_read: src=%lu, dst=%p, size=%u\n", src, dst, size); -#endif -	/* Since mmc2info always returns 0 this function will never be called */ -	return 0; -} - -int mmc2info(ulong addr) -{ -	/* This function is used by cmd_cp to determine if source or destination -	 address resides on MMC-card or not. We do not support copy to and from -	 MMC-card so we always return 0. */ -	return 0; -} -  #endif /* CONFIG_MMC */ diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c index d735c8d48..1f0d48888 100644 --- a/cpu/pxa/mmc.c +++ b/cpu/pxa/mmc.c @@ -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 */ |