]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: add support for CONFIG_GENERIC_MMC
authorIlya Yanok <yanok@emcraft.com>
Mon, 8 Jun 2009 00:12:50 +0000 (04:12 +0400)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sun, 21 Jun 2009 14:18:13 +0000 (16:18 +0200)
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
lib_arm/board.c

index 4236c942008683fa107c3c62035f3a9c9e65c216..566ae1660e7a83de502b02034c129640064c665b 100644 (file)
@@ -48,6 +48,7 @@
 #include <serial.h>
 #include <nand.h>
 #include <onenand_uboot.h>
+#include <mmc.h>
 
 #ifdef CONFIG_DRIVER_SMC91111
 #include "../drivers/net/smc91111.h"
@@ -449,6 +450,12 @@ extern void davinci_eth_set_mac_addr (const u_int8_t *addr);
 #ifdef BOARD_LATE_INIT
        board_late_init ();
 #endif
+
+#ifdef CONFIG_GENERIC_MMC
+       puts ("MMC:   ");
+       mmc_initialize (gd->bd);
+#endif
+
 #if defined(CONFIG_CMD_NET)
 #if defined(CONFIG_NET_MULTI)
        puts ("Net:   ");