summaryrefslogtreecommitdiff
path: root/board/ti/panda
diff options
context:
space:
mode:
authorSukumar Ghorai <s-ghorai@ti.com>2010-09-18 20:56:18 -0700
committerWolfgang Denk <wd@denx.de>2010-10-17 20:14:13 +0200
commit7e982c956d74614fc59cacf39016fad8bbb194ed (patch)
treee4467420fbb193e76e6551afbb460bc9d35efc44 /board/ti/panda
parentde941241a0d6a5f00e3273112c2cf8535e4f15af (diff)
downloadu-boot-imx-7e982c956d74614fc59cacf39016fad8bbb194ed.zip
u-boot-imx-7e982c956d74614fc59cacf39016fad8bbb194ed.tar.gz
u-boot-imx-7e982c956d74614fc59cacf39016fad8bbb194ed.tar.bz2
ARMV7: OMAP4: Use generic mmc driver on Panda
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/ti/panda')
-rw-r--r--board/ti/panda/panda.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 1b8153b..78e1910 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -23,6 +23,7 @@
*/
#include <common.h>
#include <asm/arch/sys_proto.h>
+#include <asm/arch/mmc_host_def.h>
#include "panda.h"
@@ -87,3 +88,11 @@ 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);
+ return 0;
+}
+#endif