diff options
author | Steve Sakoman <steve@sakoman.com> | 2010-09-19 21:21:07 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-17 20:14:19 +0200 |
commit | cd7c57262f929c3ce73bb68484989bc243752438 (patch) | |
tree | 245d3757cc346de536d0d114eb730d12f83ce62c /board/overo | |
parent | 0cd31144240221a4f6b35615f1af9159fb20b266 (diff) | |
download | u-boot-imx-cd7c57262f929c3ce73bb68484989bc243752438.zip u-boot-imx-cd7c57262f929c3ce73bb68484989bc243752438.tar.gz u-boot-imx-cd7c57262f929c3ce73bb68484989bc243752438.tar.bz2 |
ARMV7: OMAP4: Use generic mmc driver on Overo
This patch switches from the legacy mmc driver to the new generic mmc driver
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'board/overo')
-rw-r--r-- | board/overo/overo.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/overo/overo.c b/board/overo/overo.c index 1b67f1f..9c92693 100644 --- a/board/overo/overo.c +++ b/board/overo/overo.c @@ -32,6 +32,7 @@ #include <netdev.h> #include <twl4030.h> #include <asm/io.h> +#include <asm/arch/mmc_host_def.h> #include <asm/arch/mux.h> #include <asm/arch/mem.h> #include <asm/arch/sys_proto.h> @@ -225,3 +226,11 @@ int board_eth_init(bd_t *bis) #endif return rc; } + +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0); + return 0; +} +#endif |