aboutsummaryrefslogtreecommitdiff
path: root/board/davinci
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2019-03-15 14:29:20 -0500
committerTom Rini <trini@konsulko.com>2019-04-23 17:57:23 -0400
commit248b873541d0d62f45b3a08bffeb0523c2746f4c (patch)
tree3d8cc4cd6e4a645816a22aa6ac47eb8f982cff7a /board/davinci
parentd6ce4c054af18d730fae6e0cf6ac987a7f5db265 (diff)
downloadu-boot-248b873541d0d62f45b3a08bffeb0523c2746f4c.zip
u-boot-248b873541d0d62f45b3a08bffeb0523c2746f4c.tar.gz
u-boot-248b873541d0d62f45b3a08bffeb0523c2746f4c.tar.bz2
ARM: da850evm: Remove legacy MMC code
With the migration to DM in SPL and the DT support, the old legacy code is no longer neaded, so this patch removes it Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'board/davinci')
-rw-r--r--board/davinci/da8xxevm/da850evm.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/board/davinci/da8xxevm/da850evm.c b/board/davinci/da8xxevm/da850evm.c
index e8ec553..1bc2682 100644
--- a/board/davinci/da8xxevm/da850evm.c
+++ b/board/davinci/da8xxevm/da850evm.c
@@ -204,25 +204,6 @@ 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,
- .host_caps = MMC_MODE_4BIT, /* DA850 supports only 4-bit SD/MMC */
- .voltages = MMC_VDD_32_33 | MMC_VDD_33_34,
- .version = MMC_CTLR_VERSION_2,
-};
-
-int board_mmc_init(bd_t *bis)
-{
- mmc_sd0.input_clk = clk_get(DAVINCI_MMCSD_CLKID);
-
- /* Add slot-0 to mmc subsystem */
- return davinci_mmc_init(bis, &mmc_sd0);
-}
-#endif
-#endif
-
static const struct pinmux_config gpio_pins[] = {
#ifdef CONFIG_USE_NOR
/* GP0[11] is required for NOR to work on Rev 3 EVMs */