summaryrefslogtreecommitdiff
path: root/cpu/arm720t/lpc2292/mmc.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-10-30 16:19:25 -0500
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:07:40 -0600
commitb2e2ed0233a5ef299361abec4fbdaefb63456eff (patch)
treeff07986e344483f9813677931b235d5bc10655ec /cpu/arm720t/lpc2292/mmc.c
parente1be0d25ecf494ae81245ca438738ba839d6329b (diff)
downloadu-boot-imx-b2e2ed0233a5ef299361abec4fbdaefb63456eff.zip
u-boot-imx-b2e2ed0233a5ef299361abec4fbdaefb63456eff.tar.gz
u-boot-imx-b2e2ed0233a5ef299361abec4fbdaefb63456eff.tar.bz2
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>
Diffstat (limited to 'cpu/arm720t/lpc2292/mmc.c')
-rw-r--r--cpu/arm720t/lpc2292/mmc.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/cpu/arm720t/lpc2292/mmc.c b/cpu/arm720t/lpc2292/mmc.c
index fd7f149..792a884 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 */