incubator-nuttx/drivers/mmcsd
David Sidrane 0c57351f78 mmcsd:Stuck in 1-bit mode, Removed CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
mmcsd:Remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   stm32h7:sdmmc remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   stm32f7:sdmmc remove CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   stm32f7:sdmmc WRITE COMPLETE prevent false triggers
   stm32h7:sdmmc WRITE COMPLETE prevent false triggers

   While testing PR #2989 on the H7 I noticed that the cards
   were staying in 1-bit mode. The root cause was that the
   scr read path was using DMA without an invlidate.

   This was caused by CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT,
   but the sdmmc driver, did not use the delayed invalidate
   nor would it work on 8 bytes.

   The driver fully supported dcache mgt on runt buffers, but
   the #ifdef CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT blocked it.

   Reviewing the PR that added CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT
   it may have been valid at the time. But after the dcache operations
   we fixed. It is not necessary and offers no benefit.
2021-03-12 16:42:16 -03:00
..
Kconfig mmcsd:Stuck in 1-bit mode, Removed CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT 2021-03-12 16:42:16 -03:00
Make.defs drivers: Author Gregory Nutt: update licenses to Apache 2021-03-04 18:32:27 -08:00
mmcsd.h drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
mmcsd_csd.h drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
mmcsd_debug.c drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
mmcsd_sdio.c mmcsd:Stuck in 1-bit mode, Removed CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT 2021-03-12 16:42:16 -03:00
mmcsd_sdio.h drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00
mmcsd_spi.c fs: change geometry types from `size_t` to `blkcnt_t` and `blksize_t` 2021-02-18 20:38:22 -08:00
mmcsd_spi.h drivers: nxstyle fixes 2021-03-04 18:32:27 -08:00