mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
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>
This commit is contained in:
parent
d6ce4c054a
commit
248b873541
1 changed files with 0 additions and 19 deletions
|
@ -204,25 +204,6 @@ int misc_init_r(void)
|
||||||
return 0;
|
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[] = {
|
static const struct pinmux_config gpio_pins[] = {
|
||||||
#ifdef CONFIG_USE_NOR
|
#ifdef CONFIG_USE_NOR
|
||||||
/* GP0[11] is required for NOR to work on Rev 3 EVMs */
|
/* GP0[11] is required for NOR to work on Rev 3 EVMs */
|
||||||
|
|
Loading…
Add table
Reference in a new issue