summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2009-06-08 04:12:50 +0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-21 16:18:13 +0200
commit379e9fc0a319b8f6ae16d763590bf023f3afb87c (patch)
tree504c74e2c8219fd7d49ab346865e5301666ef01c /lib_arm
parent47d19da4d3f9ac4787abe9dee32406478424be52 (diff)
arm: add support for CONFIG_GENERIC_MMC
Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 4236c942008..566ae1660e7 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -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: ");