
23 May
2009
23 May
'09
2:27 a.m.
On 03:56 Wed 20 May , Ilya Yanok wrote:
Signed-off-by: Ilya Yanok yanok@emcraft.com
lib_arm/board.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/lib_arm/board.c b/lib_arm/board.c index 5d05d9b..268532f 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" @@ -439,6 +440,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
do you use a embedded mmc? otherwise I'll prefer to not init the mmc at the board init but on need
Best Regards, J.