mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
STM32 SDIO: Don't let architectures select CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE unless they have implemented SDIOWAIT_WRCOMPLETE
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user