diff options
author | Tom Rix <Tom.Rix@windriver.com> | 2009-02-19 16:45:43 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-19 23:50:33 +0100 |
commit | e5e88c3614b79b54719905f66aefb51f9494bc1f (patch) | |
tree | df45f1239e0a8a5d2f228b70c361126668907ece /drivers | |
parent | 9e80bb21629988063574f88ca0d28baadff4d963 (diff) | |
download | u-boot-imx-e5e88c3614b79b54719905f66aefb51f9494bc1f.zip u-boot-imx-e5e88c3614b79b54719905f66aefb51f9494bc1f.tar.gz u-boot-imx-e5e88c3614b79b54719905f66aefb51f9494bc1f.tar.bz2 |
ARM:OMAP3 Change mmc_init to mmc_legacy_init
omap3_mmc.c was changed to define mmc_legacy_init.
Remove unused functions.
Compile tested on all arm
Runtime tested on Zoom1.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/omap3_mmc.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/drivers/mmc/omap3_mmc.c b/drivers/mmc/omap3_mmc.c index 0148702..987adb0 100644 --- a/drivers/mmc/omap3_mmc.c +++ b/drivers/mmc/omap3_mmc.c @@ -28,6 +28,7 @@ #include <mmc.h> #include <part.h> #include <i2c.h> +#include <asm/arch/mmc.h> const unsigned short mmc_transspeed_val[15][4] = { {CLKD(10, 1), CLKD(10, 10), CLKD(10, 100), CLKD(10, 1000)}, @@ -521,7 +522,7 @@ unsigned long mmc_bread(int dev_num, unsigned long blknr, lbaint_t blkcnt, return 1; } -int mmc_init(int verbose) +int mmc_legacy_init(int verbose) { if (configure_mmc(&cur_card_data) != 1) return 1; @@ -542,17 +543,3 @@ int mmc_init(int verbose) return 0; } -int mmc_read(ulong src, uchar *dst, int size) -{ - return 0; -} - -int mmc_write(uchar *src, ulong dst, int size) -{ - return 0; -} - -int mmc2info(ulong addr) -{ - return 0; -} |