diff options
author | Vaibhav Hiremath <hvaibhav@ti.com> | 2011-09-03 21:42:35 -0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-04 11:36:17 +0200 |
commit | dcc4f38b4384fc6e63e3674100737ea6e250a19f (patch) | |
tree | 00f5f645249df26e65f6b3ffb25c145c0d4a4f52 /board/ti/evm/evm.c | |
parent | 7dd5a5be2fe8a23eb1bed2d3be8d3c6eade78c58 (diff) | |
download | u-boot-imx-dcc4f38b4384fc6e63e3674100737ea6e250a19f.zip u-boot-imx-dcc4f38b4384fc6e63e3674100737ea6e250a19f.tar.gz u-boot-imx-dcc4f38b4384fc6e63e3674100737ea6e250a19f.tar.bz2 |
omap3evm: Use generic MMC driver
Switch from the legacy mmc driver to the
new generic mmc driver.
This patch is based on similar patch for beagle[1].
[1] http://git.denx.de/?p=u-boot.git;a=commitdiff_plain;h=0cd31144240
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board/ti/evm/evm.c')
-rw-r--r-- | board/ti/evm/evm.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c index 30c1c57..e8360df 100644 --- a/board/ti/evm/evm.c +++ b/board/ti/evm/evm.c @@ -33,6 +33,7 @@ #include <asm/arch/mem.h> #include <asm/arch/mux.h> #include <asm/arch/sys_proto.h> +#include <asm/arch/mmc_host_def.h> #include <asm/arch/gpio.h> #include <i2c.h> #include <asm/mach-types.h> @@ -221,3 +222,11 @@ int board_eth_init(bd_t *bis) return rc; } #endif /* CONFIG_CMD_NET */ + +#ifdef CONFIG_GENERIC_MMC +int board_mmc_init(bd_t *bis) +{ + omap_mmc_init(0); + return 0; +} +#endif |