summaryrefslogtreecommitdiff
path: root/board/bf548-ezkit/bf548-ezkit.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/bf548-ezkit/bf548-ezkit.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/bf548-ezkit/bf548-ezkit.c')
-rw-r--r--board/bf548-ezkit/bf548-ezkit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/bf548-ezkit/bf548-ezkit.c b/board/bf548-ezkit/bf548-ezkit.c
index 29c2e92..7659e34 100644
--- a/board/bf548-ezkit/bf548-ezkit.c
+++ b/board/bf548-ezkit/bf548-ezkit.c
@@ -11,6 +11,7 @@
#include <config.h>
#include <command.h>
#include <asm/blackfin.h>
+#include <asm/sdh.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -78,3 +79,10 @@ int board_eth_init(bd_t *bis)
return smc911x_initialize(0, CONFIG_SMC911X_BASE);
}
#endif
+
+#ifdef CONFIG_BFIN_SDH
+int board_mmc_init(bd_t *bis)
+{
+ return bfin_mmc_init(bis);
+}
+#endif