mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-22 23:21:31 +00:00
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>
This commit is contained in:
parent
4aeb939e77
commit
21af33ed03
2 changed files with 3 additions and 0 deletions
|
@ -353,6 +353,7 @@ int misc_init_r(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_DM_MMC
|
||||||
#ifdef CONFIG_MMC_DAVINCI
|
#ifdef CONFIG_MMC_DAVINCI
|
||||||
static struct davinci_mmc mmc_sd0 = {
|
static struct davinci_mmc mmc_sd0 = {
|
||||||
.reg_base = (struct davinci_mmc_regs *)DAVINCI_MMC_SD0_BASE,
|
.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);
|
return davinci_mmc_init(bis, &mmc_sd0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -37,6 +37,7 @@ CONFIG_DM=y
|
||||||
CONFIG_DM_I2C=y
|
CONFIG_DM_I2C=y
|
||||||
CONFIG_DM_I2C_COMPAT=y
|
CONFIG_DM_I2C_COMPAT=y
|
||||||
CONFIG_SYS_I2C_DAVINCI=y
|
CONFIG_SYS_I2C_DAVINCI=y
|
||||||
|
CONFIG_DM_MMC=y
|
||||||
CONFIG_NAND=y
|
CONFIG_NAND=y
|
||||||
CONFIG_NAND_DAVINCI=y
|
CONFIG_NAND_DAVINCI=y
|
||||||
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
||||||
|
|
Loading…
Add table
Reference in a new issue