Merged in david_s5/nuttx/upstream_sdio_1bit_dma (pull request #188)
Allow dma in 1 bit mode in STM32F4xxx
This commit is contained in:
commit
ea7b673174
|
@ -2578,12 +2578,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