summaryrefslogtreecommitdiff
path: root/board/bf518f-ezbrd/bf518f-ezbrd.c
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2009-11-20 08:24:43 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-17 09:17:27 -0500
commite54c8209913a3f26ae28819e3515df53ec2b4548 (patch)
treea976db1447d2d8d51f8cb15bc0b15f5b59a5fb96 /board/bf518f-ezbrd/bf518f-ezbrd.c
parent17ebd5bf3393144f3ead19384318a6e5b01c4f90 (diff)
downloadu-boot-imx-e54c8209913a3f26ae28819e3515df53ec2b4548.zip
u-boot-imx-e54c8209913a3f26ae28819e3515df53ec2b4548.tar.gz
u-boot-imx-e54c8209913a3f26ae28819e3515df53ec2b4548.tar.bz2
Blackfin: convert bfin_sdh to generic mmc
Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf518f-ezbrd/bf518f-ezbrd.c')
-rw-r--r--board/bf518f-ezbrd/bf518f-ezbrd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/bf518f-ezbrd/bf518f-ezbrd.c b/board/bf518f-ezbrd/bf518f-ezbrd.c
index 279c55c..85b350f 100644
--- a/board/bf518f-ezbrd/bf518f-ezbrd.c
+++ b/board/bf518f-ezbrd/bf518f-ezbrd.c
@@ -15,6 +15,7 @@
#include <asm/blackfin.h>
#include <asm/net.h>
#include <asm/mach-common/bits/otp.h>
+#include <asm/sdh.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -155,3 +156,10 @@ int board_early_init_f(void)
#endif
return 0;
}
+
+#ifdef CONFIG_BFIN_SDH
+int board_mmc_init(bd_t *bis)
+{
+ return bfin_mmc_init(bis);
+}
+#endif