From 1e7ddfea8e5fbf06516a9d14b81d87f236f76c16 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 17 Aug 2017 09:48:46 -1000 Subject: [PATCH] stm32f7:SDMMC remove widebus limitation on DMA There is no documantation for the STM32F7 that limits DMA on 1 bit vrs 4 bit mode. --- arch/arm/src/stm32f7/stm32_sdmmc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/src/stm32f7/stm32_sdmmc.c b/arch/arm/src/stm32f7/stm32_sdmmc.c index 6be8f5f496..ac955044bf 100644 --- a/arch/arm/src/stm32f7/stm32_sdmmc.c +++ b/arch/arm/src/stm32f7/stm32_sdmmc.c @@ -2802,13 +2802,6 @@ static int stm32_dmapreflight(FAR struct sdio_dev_s *dev, 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 */ if (!stm32_dmacapable((uintptr_t)buffer, (buflen + 3) >> 2,