diff options
author | Andy Fleming <afleming@freescale.com> | 2008-10-30 16:51:33 -0500 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2009-02-16 18:07:43 -0600 |
commit | 80522dc8369a89938369fbcee572e662373bc9a3 (patch) | |
tree | a2aeb1c78f972249371fa4cbf309ac55a653e7ca /cpu/mpc85xx | |
parent | 50586ef24ed5caf6ce5591df76f355009da2cd79 (diff) | |
download | u-boot-imx-80522dc8369a89938369fbcee572e662373bc9a3.zip u-boot-imx-80522dc8369a89938369fbcee572e662373bc9a3.tar.gz u-boot-imx-80522dc8369a89938369fbcee572e662373bc9a3.tar.bz2 |
85xx: Add eSDHC support for 8536 DS
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r-- | cpu/mpc85xx/cpu.c | 15 |
1 files changed, 15 insertions, 0 deletions
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 <command.h> #include <tsec.h> #include <netdev.h> +#include <fsl_esdhc.h> #include <asm/cache.h> #include <asm/io.h> @@ -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 +} |