Pierre Ossman | 6abaa0c | 2007-05-01 16:00:02 +0200 | [diff] [blame] | 1 | # |
| 2 | # MMC core configuration |
| 3 | # |
| 4 | |
| 5 | config MMC_UNSAFE_RESUME |
Ben Hutchings | bd68e08 | 2009-12-14 18:01:29 -0800 | [diff] [blame] | 6 | bool "Assume MMC/SD cards are non-removable (DANGEROUS)" |
Pierre Ossman | 6abaa0c | 2007-05-01 16:00:02 +0200 | [diff] [blame] | 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 | |
Ben Hutchings | bd68e08 | 2009-12-14 18:01:29 -0800 | [diff] [blame] | 17 | This option sets a default which can be overridden by the |
| 18 | module parameter "removable=0" or "removable=1". |
Linus Walleij | 0456683 | 2010-11-08 21:36:50 -0500 | [diff] [blame] | 19 | |
| 20 | config MMC_CLKGATE |
Kees Cook | 9c905fa | 2012-10-02 11:17:45 -0700 | [diff] [blame] | 21 | bool "MMC host clock gating" |
Linus Walleij | 0456683 | 2010-11-08 21:36:50 -0500 | [diff] [blame] | 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. |