Commit 4aeb939e77e4c43195be64a07e6035d3f7af9e91
Committed by
Tom Rini
1 parent
df6565c36c
Exists in
smarc_8mq_lf_v2020.04
and in
12 other branches
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>
Showing 2 changed files with 3 additions and 0 deletions Side-by-side Diff
board/davinci/da8xxevm/da850evm.c
... | ... | @@ -204,6 +204,7 @@ |
204 | 204 | return 0; |
205 | 205 | } |
206 | 206 | |
207 | +#ifndef CONFIG_DM_MMC | |
207 | 208 | #ifdef CONFIG_MMC_DAVINCI |
208 | 209 | static struct davinci_mmc mmc_sd0 = { |
209 | 210 | .reg_base = (struct davinci_mmc_regs *)DAVINCI_MMC_SD0_BASE, |
... | ... | @@ -219,6 +220,7 @@ |
219 | 220 | /* Add slot-0 to mmc subsystem */ |
220 | 221 | return davinci_mmc_init(bis, &mmc_sd0); |
221 | 222 | } |
223 | +#endif | |
222 | 224 | #endif |
223 | 225 | |
224 | 226 | static const struct pinmux_config gpio_pins[] = { |