Commit 4aeb939e77e4c43195be64a07e6035d3f7af9e91

Authored by Adam Ford
Committed by Tom Rini
1 parent df6565c36c

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[] = {
configs/da850evm_defconfig
... ... @@ -43,6 +43,7 @@
43 43 CONFIG_DA8XX_GPIO=y
44 44 CONFIG_DM_I2C=y
45 45 CONFIG_SYS_I2C_DAVINCI=y
  46 +CONFIG_DM_MMC=y
46 47 CONFIG_MTD_DEVICE=y
47 48 CONFIG_MTD_PARTITIONS=y
48 49 CONFIG_DM_SPI_FLASH=y