summaryrefslogtreecommitdiff
path: root/lib_blackfin/board.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 /lib_blackfin/board.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 'lib_blackfin/board.c')
-rw-r--r--lib_blackfin/board.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index ed4e77b..90da2b4 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -14,6 +14,7 @@
#include <stdio_dev.h>
#include <environment.h>
#include <malloc.h>
+#include <mmc.h>
#include <net.h>
#include <timestamp.h>
#include <status_led.h>
@@ -340,6 +341,11 @@ void board_init_r(gd_t * id, ulong dest_addr)
nand_init(); /* go init the NAND */
#endif
+#ifdef CONFIG_GENERIC_MMC
+ puts("MMC: ");
+ mmc_initialize(bd);
+#endif
+
/* relocate environment function pointers etc. */
env_relocate();