From 76ceb375531945a3ee8733e06d50b28ebc49d7bb Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 22 Dec 2016 09:19:37 -1000 Subject: [PATCH] Allow dma in 1 bit mode in STM32F4xxx --- arch/arm/src/stm32/stm32_sdio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/src/stm32/stm32_sdio.c b/arch/arm/src/stm32/stm32_sdio.c index 9d93a432c03..0a6defc3dfa 100644 --- a/arch/arm/src/stm32/stm32_sdio.c +++ b/arch/arm/src/stm32/stm32_sdio.c @@ -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 */