Allow dma in 1 bit mode in STM32F4xxx
This commit is contained in:
parent
8b81cf5c7e
commit
76ceb37553
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user