xref: /openbmc/linux/drivers/mmc/core/Kconfig (revision 160b8e75)
1#
2# MMC core configuration
3#
4config PWRSEQ_EMMC
5	tristate "HW reset support for eMMC"
6	default y
7	depends on OF
8	help
9	  This selects Hardware reset support aka pwrseq-emmc for eMMC
10	  devices. By default this option is set to y.
11
12	  This driver can also be built as a module. If so, the module
13	  will be called pwrseq_emmc.
14
15config PWRSEQ_SD8787
16	tristate "HW reset support for SD8787 BT + Wifi module"
17	depends on OF && (MWIFIEX || BT_MRVL_SDIO)
18	help
19	  This selects hardware reset support for the SD8787 BT + Wifi
20	  module. By default this option is set to n.
21
22	  This driver can also be built as a module. If so, the module
23	  will be called pwrseq_sd8787.
24
25config PWRSEQ_SIMPLE
26	tristate "Simple HW reset support for MMC"
27	default y
28	depends on OF
29	help
30	  This selects simple hardware reset support aka pwrseq-simple for MMC
31	  devices. By default this option is set to y.
32
33	  This driver can also be built as a module. If so, the module
34	  will be called pwrseq_simple.
35
36config MMC_BLOCK
37	tristate "MMC block device driver"
38	depends on BLOCK
39	default y
40	help
41	  Say Y here to enable the MMC block device driver support.
42	  This provides a block device driver, which you can use to
43	  mount the filesystem. Almost everyone wishing MMC support
44	  should say Y or M here.
45
46config MMC_BLOCK_MINORS
47	int "Number of minors per block device"
48	depends on MMC_BLOCK
49	range 4 256
50	default 8
51	help
52	  Number of minors per block device. One is needed for every
53	  partition on the disk (plus one for the whole disk).
54
55	  Number of total MMC minors available is 256, so your number
56	  of supported block devices will be limited to 256 divided
57	  by this number.
58
59	  Default is 8 to be backwards compatible with previous
60	  hardwired device numbering.
61
62	  If unsure, say 8 here.
63
64config SDIO_UART
65	tristate "SDIO UART/GPS class support"
66	depends on TTY
67	help
68	  SDIO function driver for SDIO cards that implements the UART
69	  class, as well as the GPS class which appears like a UART.
70
71config MMC_TEST
72	tristate "MMC host test driver"
73	help
74	  Development driver that performs a series of reads and writes
75	  to a memory card in order to expose certain well known bugs
76	  in host controllers. The tests are executed by writing to the
77	  "test" file in debugfs under each card. Note that whatever is
78	  on your card will be overwritten by these tests.
79
80	  This driver is only of interest to those developing or
81	  testing a host driver. Most people should say N here.
82
83