summaryrefslogtreecommitdiff
path: root/board/logicpd/am3517evm/am3517evm.c
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2011-09-03 21:47:44 -0400
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:17 +0200
commit122e6e0a97f08b146b066eb384c8335c80214fd1 (patch)
tree11bd3a991f71e0b07ddddfcd759a1df629572ffd /board/logicpd/am3517evm/am3517evm.c
parentdcc4f38b4384fc6e63e3674100737ea6e250a19f (diff)
downloadu-boot-imx-122e6e0a97f08b146b066eb384c8335c80214fd1.zip
u-boot-imx-122e6e0a97f08b146b066eb384c8335c80214fd1.tar.gz
u-boot-imx-122e6e0a97f08b146b066eb384c8335c80214fd1.tar.bz2
am3517evm: 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/logicpd/am3517evm/am3517evm.c')
-rw-r--r--board/logicpd/am3517evm/am3517evm.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/logicpd/am3517evm/am3517evm.c b/board/logicpd/am3517evm/am3517evm.c
index bbb6e83..c0a006a 100644
--- a/board/logicpd/am3517evm/am3517evm.c
+++ b/board/logicpd/am3517evm/am3517evm.c
@@ -28,6 +28,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/mach-types.h>
#include <i2c.h>
#include "am3517evm.h"
@@ -74,3 +75,11 @@ void set_muxconf_regs(void)
{
MUX_AM3517EVM();
}
+
+#ifdef CONFIG_GENERIC_MMC
+int board_mmc_init(bd_t *bis)
+{
+ omap_mmc_init(0);
+ return 0;
+}
+#endif