From 3b5b9cbbb3ef2a757f8a41d71b7344925cec65e2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 8 Jan 2015 17:47:34 -0600 Subject: STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE --- nuttx/arch/arm/src/stm32/Kconfig | 1 + nuttx/drivers/mmcsd/Kconfig | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'nuttx') diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index 64356f2a5..c7c46b040 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -1266,6 +1266,7 @@ config STM32_SDIO default n depends on !STM32_CONNECTIVITYLINE && !STM32_VALUELINE select ARCH_HAVE_SDIO + select ARCH_HAVE_SDIOWAIT_WRCOMPLETE select SDIO_PREFLIGHT config STM32_SPI1 diff --git a/nuttx/drivers/mmcsd/Kconfig b/nuttx/drivers/mmcsd/Kconfig index f78232ebb..33f70bb4b 100755 --- a/nuttx/drivers/mmcsd/Kconfig +++ b/nuttx/drivers/mmcsd/Kconfig @@ -38,9 +38,14 @@ config MMCSD_HAVECARDDETECT SDIO driver card detection is 100% accurate +config ARCH_HAVE_SDIOWAIT_WRCOMPLETE + bool + default n + config MMCSD_SDIOWAIT_WRCOMPLETE bool "Use SDIO_D Busy to detect Write Complete" default n + depends on ARCH_HAVE_SDIOWAIT_WRCOMPLETE ---help--- SDIO driver will use SDIO_D Busy signalling to detect Write Complete. This option when selected, will enable the MMCSD driver to use the -- cgit v1.2.3