STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE

This commit is contained in:
Gregory Nutt
2015-01-08 17:47:34 -06:00
parent 45e09d9df7
commit f787440a04
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -1266,6 +1266,7 @@ config STM32_SDIO
default n default n
depends on !STM32_CONNECTIVITYLINE && !STM32_VALUELINE depends on !STM32_CONNECTIVITYLINE && !STM32_VALUELINE
select ARCH_HAVE_SDIO select ARCH_HAVE_SDIO
select ARCH_HAVE_SDIOWAIT_WRCOMPLETE
select SDIO_PREFLIGHT select SDIO_PREFLIGHT
config STM32_SPI1 config STM32_SPI1
+5
View File
@@ -38,9 +38,14 @@ config MMCSD_HAVECARDDETECT
SDIO driver card detection is SDIO driver card detection is
100% accurate 100% accurate
config ARCH_HAVE_SDIOWAIT_WRCOMPLETE
bool
default n
config MMCSD_SDIOWAIT_WRCOMPLETE config MMCSD_SDIOWAIT_WRCOMPLETE
bool "Use SDIO_D Busy to detect Write Complete" bool "Use SDIO_D Busy to detect Write Complete"
default n default n
depends on ARCH_HAVE_SDIOWAIT_WRCOMPLETE
---help--- ---help---
SDIO driver will use SDIO_D Busy signalling to detect Write Complete. SDIO driver will use SDIO_D Busy signalling to detect Write Complete.
This option when selected, will enable the MMCSD driver to use the This option when selected, will enable the MMCSD driver to use the