diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b7a59a865e..8ac009ce33 100644 --- a/drivers/spi/Kconfig +++ b/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