summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-08-09 06:15:14 -0500
committerTom Rini <trini@konsulko.com>2018-09-11 21:41:48 -0400
commit21af33ed0319b1a5133ea78a4261b5464e1a6a1b (patch)
tree264453abcac023b24bc086bc9719dc28c64f974b /board
parent4aeb939e77e4c43195be64a07e6035d3f7af9e91 (diff)
ARM: davinci: omapl138_lcdk: Enable DM_MMC
With DM_MMC now available, this patch enables DM_MMC for the omapl138_lcdk in U-Boot and keeps the older style for SPL. Signed-off-by: Peter Howard <phoward@gme.net.au> Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board')
-rw-r--r--board/davinci/da8xxevm/omapl138_lcdk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/omapl138_lcdk.c b/board/davinci/da8xxevm/omapl138_lcdk.c
index 15ffc3bfac..2c2f885d43 100644
--- a/board/davinci/da8xxevm/omapl138_lcdk.c
+++ b/board/davinci/da8xxevm/omapl138_lcdk.c
@@ -353,6 +353,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,
@@ -369,3 +370,4 @@ int board_mmc_init(bd_t *bis)
return davinci_mmc_init(bis, &mmc_sd0);
}
#endif
+#endif