Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / card / Kconfig
index 5562308699bc292d5dce1e63fdea2452c38164f5..6142ec1b9dfbbc2a8a368977d2f3e40e022556c7 100644 (file)
@@ -68,3 +68,15 @@ config MMC_TEST
 
          This driver is only of interest to those developing or
          testing a host driver. Most people should say N here.
+
+config MMC_SIMULATE_MAX_SPEED
+       bool "Turn on maximum speed control per block device"
+       depends on MMC_BLOCK
+       help
+         Say Y here to enable MMC device speed limiting. Used to test and
+         simulate the behavior of the system when confronted with a slow MMC.
+
+         Enables max_read_speed, max_write_speed and cache_size attributes to
+         control the write or read maximum KB/second speed behaviors.
+
+         If unsure, say N here.