ANDROID: mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED
authorMark Salyzyn <salyzyn@google.com>
Thu, 28 Jan 2016 19:12:25 +0000 (11:12 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:20:08 +0000 (16:50 +0530)
commit7c328c732fcb44a3eec9e8701610a526b3348e54
tree71e8aaa7ffd9db4990b7d214cabbb3b269ea69e3
parent48ad4abaff846bbe5e21a9d18b41c6f606ef84e4
ANDROID: mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED

When CONFIG_MMC_SIMULATE_MAX_SPEED is enabled, Expose max_read_speed,
max_write_speed and cache_size default module parameters and sysfs
controls to simulate a slow eMMC device. Default values are 0 (off),
0 (off) and 4 MB respectively.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 26976972
Change-Id: I342bfbd8b85f9b790e3f0e1e4e51a900ae07e05d
Documentation/block/00-INDEX
Documentation/block/mmc-max-speed.txt [new file with mode: 0644]
drivers/mmc/card/Kconfig
drivers/mmc/card/block.c
drivers/mmc/card/queue.h