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 |
| 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. |
San Mehat | c80f546 | 2008-11-11 09:35:36 -0800 | [diff] [blame] | 30 | |
San Mehat | e01587a | 2008-04-14 15:22:49 -0700 | [diff] [blame] | 31 | config MMC_EMBEDDED_SDIO |
| 32 | boolean "MMC embedded SDIO device support (EXPERIMENTAL)" |
| 33 | depends on EXPERIMENTAL |
| 34 | help |
| 35 | If you say Y here, support will be added for embedded SDIO |
| 36 | devices which do not contain the necessary enumeration |
| 37 | support in hardware to be properly detected. |
| 38 | |
San Mehat | c80f546 | 2008-11-11 09:35:36 -0800 | [diff] [blame] | 39 | config MMC_PARANOID_SD_INIT |
| 40 | bool "Enable paranoid SD card initialization (EXPERIMENTAL)" |
San Mehat | e01587a | 2008-04-14 15:22:49 -0700 | [diff] [blame] | 41 | depends on EXPERIMENTAL |
San Mehat | c80f546 | 2008-11-11 09:35:36 -0800 | [diff] [blame] | 42 | help |
| 43 | If you say Y here, the MMC layer will be extra paranoid |
| 44 | about re-trying SD init requests. This can be a useful |
| 45 | work-around for buggy controllers and hardware. Enable |
| 46 | if you are experiencing issues with SD detection. |