Allow dma in 1 bit mode in STM32F4xxx

This commit is contained in:
David Sidrane 2016-12-22 09:19:37 -10:00
parent 8b81cf5c7e
commit 76ceb37553

View File

@ -2577,12 +2577,14 @@ static int stm32_dmapreflight(FAR struct sdio_dev_s *dev,
DEBUGASSERT(priv != NULL && buffer != NULL && buflen > 0);
#if !defined(CONFIG_STM32_STM32F40XX)
/* Wide bus operation is required for DMA */
if (!priv->widebus)
{
return -EINVAL;
}
#endif
/* DMA must be possible to the buffer */