diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-08 17:47:34 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-08 17:47:34 -0600 |
commit | 3b5b9cbbb3ef2a757f8a41d71b7344925cec65e2 (patch) | |
tree | aa3fa7eb3d9e6f5b26dc507bc38b899dc606a4f4 /nuttx | |
parent | aadc76f41e39f84dbdcd6987ce89f6d8bcb87252 (diff) | |
download | px4-nuttx-3b5b9cbbb3ef2a757f8a41d71b7344925cec65e2.tar.gz px4-nuttx-3b5b9cbbb3ef2a757f8a41d71b7344925cec65e2.tar.bz2 px4-nuttx-3b5b9cbbb3ef2a757f8a41d71b7344925cec65e2.zip |
STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/arch/arm/src/stm32/Kconfig | 1 | ||||
-rwxr-xr-x | nuttx/drivers/mmcsd/Kconfig | 5 |
2 files changed, 6 insertions, 0 deletions
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 |