From b661ba3e2aa081a9cac1c78fb56d27e97ce5a1c9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 18 Oct 2013 14:13:53 -0600 Subject: [PATCH] STM32 DMA Priority: Select the correct default for F1 and other family members --- arch/arm/src/stm32/Kconfig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index e2322c627f..bb0b07b757 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -2631,10 +2631,15 @@ config SDIO_PRI config SDIO_DMAPRIO hex "SDIO DMA priority" - default 0x00010000 - depends on !STM32_STM32F10XX + default 0x00001000 if STM32_STM32F10XX + default 0x00010000 if !STM32_STM32F10XX ---help--- - Select SDIO DMA prority. Options: 0x00000000 low, 0x00010000 medium, + Select SDIO DMA prority. + + For STM32 F1 family, options are: 0x00000000 low, 0x00001000 medium, + 0x00002000 high, 0x00003000 very high. Default: medium. + + For other STM32's, options are: 0x00000000 low, 0x00010000 medium, 0x00020000 high, 0x00030000 very high. Default: medium. config SDIO_WIDTH_D1_ONLY