summaryrefslogtreecommitdiff
path: root/board/davinci
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-08-09 06:15:13 -0500
committerTom Rini <trini@konsulko.com>2018-09-11 21:41:15 -0400
commit4aeb939e77e4c43195be64a07e6035d3f7af9e91 (patch)
tree54da844e6d20200b96c1c08cf53088b9a1f7ea7b /board/davinci
parentdf6565c36c607104590e954d093b92a58a9d5d28 (diff)
ARM: davinci: da850evm: Support DM_MMC
With the updated driver available to support DM_MMC, this patch enables DM_MMC for da850evm. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board/davinci')
-rw-r--r--board/davinci/da8xxevm/da850evm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index 5583b45792..e8ec553f99 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -204,6 +204,7 @@ int misc_init_r(void)
return 0;
}
+#ifndef CONFIG_DM_MMC
#ifdef CONFIG_MMC_DAVINCI
static struct davinci_mmc mmc_sd0 = {
.reg_base = (struct davinci_mmc_regs *)DAVINCI_MMC_SD0_BASE,
@@ -220,6 +221,7 @@ int board_mmc_init(bd_t *bis)
return davinci_mmc_init(bis, &mmc_sd0);
}
#endif
+#endif
static const struct pinmux_config gpio_pins[] = {
#ifdef CONFIG_USE_NOR