summaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-04 07:23:46 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-04 07:23:46 -0600
commitf02120e918879fa2e8994bb01928df8e036ab950 (patch)
tree88a8882584e03ee1849c19993f0f2c9fd31dc4b6 /nuttx/drivers
parentd5645521c83e57a1669f41dc0acae190596095f7 (diff)
downloadpx4-nuttx-f02120e918879fa2e8994bb01928df8e036ab950.tar.gz
px4-nuttx-f02120e918879fa2e8994bb01928df8e036ab950.tar.bz2
px4-nuttx-f02120e918879fa2e8994bb01928df8e036ab950.zip
Add missing CONFIG_SPI_CALLBACK selection to the drivers/spi/Kconfig. Noted by Freddie Chopin
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/spi/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/drivers/spi/Kconfig b/nuttx/drivers/spi/Kconfig
index b7a59a865..8ac009ce3 100644
--- a/nuttx/drivers/spi/Kconfig
+++ b/nuttx/drivers/spi/Kconfig
@@ -29,6 +29,15 @@ config SPI_CMDDATA
either 9-bit SPI (yech) or 8-bit SPI and a GPIO output that selects
between command and data.
+config SPI_CALLBACK
+ bool "Media change callbacks"
+ default y if MMCSD_SPI
+ default n if !MMCSD_SPI
+ ---help---
+ Support the callback method in the SPI interface. This will allow
+ the SPI-based MMC/SD driver to get a notification of changes in the
+ card status when an SD card is inserted or removed.
+
config SPI_BITBANG
bool "SPI bit-bang device"
default n