xref: /linux/drivers/mmc/core/Kconfig (revision 0d456bad36d42d16022be045c8a53ddbb59ee478)
1#
2# MMC core configuration
3#
4
5config MMC_UNSAFE_RESUME
6	bool "Assume MMC/SD cards are non-removable (DANGEROUS)"
7	help
8	  If you say Y here, the MMC layer will assume that all cards
9	  stayed in their respective slots during the suspend. The
10	  normal behaviour is to remove them at suspend and
11	  redetecting them at resume. Breaking this assumption will
12	  in most cases result in data corruption.
13
14	  This option is usually just for embedded systems which use
15	  a MMC/SD card for rootfs. Most people should say N here.
16
17	  This option sets a default which can be overridden by the
18	  module parameter "removable=0" or "removable=1".
19
20config MMC_CLKGATE
21	bool "MMC host clock gating (EXPERIMENTAL)"
22	depends on EXPERIMENTAL
23	help
24	  This will attempt to aggressively gate the clock to the MMC card.
25	  This is done to save power due to gating off the logic and bus
26	  noise when the MMC card is not in use. Your host driver has to
27	  support handling this in order for it to be of any use.
28
29	  If unsure, say N.
30