stm32f7:SDMMC remove widebus limitation on DMA

There is no documantation for the STM32F7 that limits DMA on
   1 bit vrs 4 bit mode.
This commit is contained in:
David Sidrane 2017-08-17 09:48:46 -10:00
parent dffab2f4dd
commit 1e7ddfea8e

View File

@ -2802,13 +2802,6 @@ static int stm32_dmapreflight(FAR struct sdio_dev_s *dev,
DEBUGASSERT(priv != NULL && buffer != NULL && buflen > 0); DEBUGASSERT(priv != NULL && buffer != NULL && buflen > 0);
/* Wide bus operation is required for DMA */
if (!priv->widebus)
{
return -EINVAL;
}
/* DMA must be possible to the buffer */ /* DMA must be possible to the buffer */
if (!stm32_dmacapable((uintptr_t)buffer, (buflen + 3) >> 2, if (!stm32_dmacapable((uintptr_t)buffer, (buflen + 3) >> 2,