From 80522dc8369a89938369fbcee572e662373bc9a3 Mon Sep 17 00:00:00 2001 From: Andy Fleming Date: Thu, 30 Oct 2008 16:51:33 -0500 Subject: 85xx: Add eSDHC support for 8536 DS Signed-off-by: Andy Fleming --- cpu/mpc85xx/cpu.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'cpu/mpc85xx') diff --git a/cpu/mpc85xx/cpu.c b/cpu/mpc85xx/cpu.c index c9598fa..7c50c2f 100644 --- a/cpu/mpc85xx/cpu.c +++ b/cpu/mpc85xx/cpu.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -394,5 +395,19 @@ int cpu_eth_init(bd_t *bis) #if defined(CONFIG_TSEC_ENET) || defined(CONFIG_MPC85XX_FEC) tsec_standard_init(bis); #endif + return 0; } + +/* + * Initializes on-chip MMC controllers. + * to override, implement board_mmc_init() + */ +int cpu_mmc_init(bd_t *bis) +{ +#ifdef CONFIG_FSL_ESDHC + return fsl_esdhc_mmc_init(bis); +#else + return 0; +#endif +} -- cgit v1.1