diff options
author | Sukumar Ghorai <s-ghorai@ti.com> | 2010-09-18 20:59:54 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-17 20:14:15 +0200 |
commit | 084c4c1bc10ef7abd64eebaf4c0a559409c82ddb (patch) | |
tree | d93bac27f0a0afa8e661997c0f715c6f09c9ad47 /board | |
parent | 7e982c956d74614fc59cacf39016fad8bbb194ed (diff) | |
download | u-boot-084c4c1bc10ef7abd64eebaf4c0a559409c82ddb.zip u-boot-084c4c1bc10ef7abd64eebaf4c0a559409c82ddb.tar.gz u-boot-084c4c1bc10ef7abd64eebaf4c0a559409c82ddb.tar.bz2 |
ARMV7: OMAP4: Use generic mmc driver on SDP4430
This patch switches from the legacy mmc driver to the new generic mmc driver
Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com>
Tested-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/sdp4430/sdp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/ti/sdp4430/sdp.c b/board/ti/sdp4430/sdp.c index 7039bd5..01d5ce4 100644 --- a/board/ti/sdp4430/sdp.c +++ b/board/ti/sdp4430/sdp.c @@ -24,6 +24,7 @@ */ #include <common.h> #include <asm/arch/sys_proto.h> +#include <asm/arch/mmc_host_def.h> #include "sdp.h" @@ -88,3 +89,12 @@ void set_muxconf_regs(void) sizeof(wkup_padconf_array) / sizeof(struct pad_conf_entry)); } + +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0); + omap_mmc_init(1); + return 0; +} +#endif |