xref: /openbmc/linux/drivers/mmc/core/Kconfig (revision ca79522c)
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"
22	help
23	  This will attempt to aggressively gate the clock to the MMC card.
24	  This is done to save power due to gating off the logic and bus
25	  noise when the MMC card is not in use. Your host driver has to
26	  support handling this in order for it to be of any use.
27
28	  If unsure, say N.
29