2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-12-29 00:40:54 +01:00
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config MMCSD_NSLOTS
|
|
|
|
int "Number of MMC/SD slots"
|
|
|
|
default 1
|
|
|
|
---help---
|
|
|
|
Number of MMC/SD slots supported by the
|
|
|
|
driver. Default is one.
|
|
|
|
|
|
|
|
config MMCSD_READONLY
|
|
|
|
bool "Disable MMC/SD write access"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Provide read-only access. Default is
|
|
|
|
Read/Write
|
|
|
|
|
|
|
|
config MMCSD_MULTIBLOCK_DISABLE
|
|
|
|
bool "Disable MMC/SD multiblock transfer"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Use only the single block transfer method.
|
|
|
|
This setting is used to work around buggy SDIO drivers that cannot handle
|
|
|
|
multiple block transfers.
|
|
|
|
|
|
|
|
config MMCSD_MMCSUPPORT
|
|
|
|
bool "MMC cards support"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable support for MMC cards
|
|
|
|
|
|
|
|
config MMCSD_HAVECARDDETECT
|
|
|
|
bool "MMC/SD card detection"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
SDIO driver card detection is
|
|
|
|
100% accurate
|
|
|
|
|
|
|
|
config MMCSD_SPI
|
2013-01-02 15:02:07 +01:00
|
|
|
bool "MMC/SD SPI transfer support"
|
2012-04-13 16:27:44 +02:00
|
|
|
default y
|
2013-01-02 15:02:07 +01:00
|
|
|
depends on SPI
|
2012-09-08 04:10:56 +02:00
|
|
|
|
2013-06-17 20:31:24 +02:00
|
|
|
if MMCSD_SPI
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config MMCSD_SPICLOCK
|
|
|
|
int "MMC/SD maximum SPI clock"
|
|
|
|
default 20000000
|
|
|
|
depends on MMCSD_SPI
|
|
|
|
---help---
|
|
|
|
Maximum SPI clock to drive MMC/SD card.
|
|
|
|
Default is 20MHz.
|
|
|
|
|
2013-06-17 20:31:24 +02:00
|
|
|
config MMCSD_SPIMODE
|
|
|
|
int "MMC/SD SPI mode"
|
|
|
|
default 0
|
|
|
|
---help---
|
|
|
|
Should be mode 0. However, sometimes this is useful for experimenting.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-08-10 17:06:53 +02:00
|
|
|
config ARCH_HAVE_SDIO
|
|
|
|
bool
|
2013-08-11 02:01:23 +02:00
|
|
|
default n
|
2013-08-10 17:06:53 +02:00
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config MMCSD_SDIO
|
2013-06-17 20:31:24 +02:00
|
|
|
bool "MMC/SD SDIO transfer support"
|
2013-01-18 17:37:37 +01:00
|
|
|
default n
|
2013-08-11 02:01:23 +02:00
|
|
|
depends on ARCH_HAVE_SDIO
|
2012-04-13 16:27:44 +02:00
|
|
|
|
|
|
|
if MMCSD_SDIO
|
2013-06-17 20:31:24 +02:00
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config SDIO_DMA
|
2013-03-26 21:06:53 +01:00
|
|
|
bool "SDIO DMA support"
|
2012-04-13 16:27:44 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
SDIO driver supports DMA
|
|
|
|
|
2013-10-18 16:06:23 +02:00
|
|
|
config SDIO_PREFLIGHT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
config SDIO_MUXBUS
|
|
|
|
bool "SDIO bus share support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set this SDIO interface if the SDIO interface
|
|
|
|
or hardware resources are shared with other drivers.
|
|
|
|
|
|
|
|
config SDIO_WIDTH_D1_ONLY
|
|
|
|
bool "SDIO 1-bit transfer"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select 1-bit transfer mode. Default:
|
|
|
|
4-bit transfer mode.
|
2013-03-10 20:31:10 +01:00
|
|
|
|
|
|
|
config SDIO_BLOCKSETUP
|
|
|
|
bool "SDIO block setup"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Some hardward needs to be informed of the selected blocksize and the
|
|
|
|
number of blocks. Others just work on the byte stream. This option
|
|
|
|
enables the block setup method in the SDIO vtable.
|
|
|
|
|
2012-04-13 16:27:44 +02:00
|
|
|
endif
|