xref: /openbmc/linux/drivers/mmc/core/Kconfig (revision 8730046c)
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_SIMPLE
16	tristate "Simple HW reset support for MMC"
17	default y
18	depends on OF
19	help
20	  This selects simple hardware reset support aka pwrseq-simple for MMC
21	  devices. By default this option is set to y.
22
23	  This driver can also be built as a module. If so, the module
24	  will be called pwrseq_simple.
25
26config MMC_BLOCK
27	tristate "MMC block device driver"
28	depends on BLOCK
29	default y
30	help
31	  Say Y here to enable the MMC block device driver support.
32	  This provides a block device driver, which you can use to
33	  mount the filesystem. Almost everyone wishing MMC support
34	  should say Y or M here.
35
36config MMC_BLOCK_MINORS
37	int "Number of minors per block device"
38	depends on MMC_BLOCK
39	range 4 256
40	default 8
41	help
42	  Number of minors per block device. One is needed for every
43	  partition on the disk (plus one for the whole disk).
44
45	  Number of total MMC minors available is 256, so your number
46	  of supported block devices will be limited to 256 divided
47	  by this number.
48
49	  Default is 8 to be backwards compatible with previous
50	  hardwired device numbering.
51
52	  If unsure, say 8 here.
53
54config MMC_BLOCK_BOUNCE
55	bool "Use bounce buffer for simple hosts"
56	depends on MMC_BLOCK
57	default y
58	help
59	  SD/MMC is a high latency protocol where it is crucial to
60	  send large requests in order to get high performance. Many
61	  controllers, however, are restricted to continuous memory
62	  (i.e. they can't do scatter-gather), something the kernel
63	  rarely can provide.
64
65	  Say Y here to help these restricted hosts by bouncing
66	  requests back and forth from a large buffer. You will get
67	  a big performance gain at the cost of up to 64 KiB of
68	  physical memory.
69
70	  If unsure, say Y here.
71
72config SDIO_UART
73	tristate "SDIO UART/GPS class support"
74	depends on TTY
75	help
76	  SDIO function driver for SDIO cards that implements the UART
77	  class, as well as the GPS class which appears like a UART.
78
79config MMC_TEST
80	tristate "MMC host test driver"
81	help
82	  Development driver that performs a series of reads and writes
83	  to a memory card in order to expose certain well known bugs
84	  in host controllers. The tests are executed by writing to the
85	  "test" file in debugfs under each card. Note that whatever is
86	  on your card will be overwritten by these tests.
87
88	  This driver is only of interest to those developing or
89	  testing a host driver. Most people should say N here.
90
91