arch/arm/src/lpc43xx/Kconfig: Restored dependency on EXPERIMENTAL for LPC43_SDMMC.
This commit is contained in:
parent
41ebb6d672
commit
729b2e1907
|
@ -256,6 +256,7 @@ config LPC43_SDMMC
|
|||
default n
|
||||
select ARCH_HAVE_SDIO
|
||||
select SDIO_BLOCKSETUP
|
||||
depends on EXPERIMENTAL
|
||||
|
||||
config LPC43_SPI
|
||||
bool "SPI"
|
||||
|
|
|
@ -2768,7 +2768,6 @@ FAR struct sdio_dev_s *lpc54_sdmmc_initialize(int slotno)
|
|||
lpc54_putreg(regval, LPC54_SYSCON_SDIOCLKDIV);
|
||||
lpc54_putreg(regval | SYSCON_SDIOCLKDIV_REQFLAG, LPC54_SYSCON_SDIOCLKDIV);
|
||||
|
||||
#if 1 /* REVISIT */
|
||||
/* Set delay values on the sample and drive inputs and outputs using the
|
||||
* SDIOCLKCTRL register in the SYSCON block.
|
||||
*/
|
||||
|
@ -2778,7 +2777,6 @@ FAR struct sdio_dev_s *lpc54_sdmmc_initialize(int slotno)
|
|||
SYSCON_SDIOCLKCTRL_DRVDLY_DEFAULT |
|
||||
SYSCON_SDIOCLKCTRL_SMPDLY_DEFAULT;
|
||||
lpc54_putreg(regval, LPC54_SYSCON_SDIOCLKCTRL);
|
||||
#endif
|
||||
|
||||
/* Enable clocking to the SD/MMC peripheral */
|
||||
|
||||
|
@ -2820,8 +2818,8 @@ FAR struct sdio_dev_s *lpc54_sdmmc_initialize(int slotno)
|
|||
#endif
|
||||
|
||||
#ifndef CONFIG_SDIO_WIDTH_D1_ONLY
|
||||
/* REVISIT: Due to a chip errata, DAT4-7 must also be configured.
|
||||
* Otherwise the SD interface will not work.
|
||||
/* REVISIT: Due to chip errata, Rev. 1.7, Issue 3.7, DAT4-7 must also be
|
||||
* configured. Otherwise the SD interface will not work.
|
||||
*/
|
||||
|
||||
lpc54_gpio_config(GPIO_SD_D4);
|
||||
|
|
|
@ -203,7 +203,7 @@
|
|||
* Fsdmmc = Fmck / SYSDIV
|
||||
* Fsd = Fsdmmc / SDDIV
|
||||
*
|
||||
* The optimal SYSCON divisor (SYSDIV) is the smallest smallest that will
|
||||
* The optimal SYSCON divisor (SYSDIV) is the smallest divisor that will
|
||||
* assure that the smallest usable SD frequency (Fmin = 400KHz) can be
|
||||
* attained without overflowing the final 8-bit divider (SDDIV). That is:
|
||||
*
|
||||
|
@ -436,8 +436,8 @@
|
|||
#define GPIO_SD_POW_EN GPIO_SD_POW_EN_2 /* P2.5 */
|
||||
#define GPIO_SD_WR_PRT GPIO_SD_WR_PRT_2 /* P2.15 */
|
||||
|
||||
/* Due to a chip errata, DAT4-7 must also be configured. Otherwise the SD
|
||||
* interface will not work.
|
||||
/* REVISIT: Due to chip errata, Rev. 1.7, Issue 3.7, DAT4-7 must also be
|
||||
* configured. Otherwise the SD interface will not work.
|
||||
*/
|
||||
|
||||
#define GPIO_SD_D4 (GPIO_SD_D4_3 | GPIO_PULLUP) /* P4.29 */
|
||||
|
|
Loading…
Reference in New Issue