summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-10-30 16:21:00 -0500
committerAndy Fleming <afleming@freescale.com>2009-02-16 18:07:40 -0600
commitabb5466ccf4ce50f412d459586f4f4b81cb73ac3 (patch)
tree0b4af419109659e21ada81fb38a68ac8e041b4eb /cpu
parentb2e2ed0233a5ef299361abec4fbdaefb63456eff (diff)
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>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm720t/lpc2292/mmc.c4
-rw-r--r--cpu/pxa/mmc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpu/arm720t/lpc2292/mmc.c b/cpu/arm720t/lpc2292/mmc.c
index 792a88471e1..beaffe944c7 100644
--- a/cpu/arm720t/lpc2292/mmc.c
+++ b/cpu/arm720t/lpc2292/mmc.c
@@ -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 */
diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c
index 1f0d488889e..7199e8952b6 100644
--- a/cpu/pxa/mmc.c
+++ b/cpu/pxa/mmc.c
@@ -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;