diff options
| author | Maya Erez <merez@codeaurora.org> | 2012-11-22 15:31:55 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:01:41 -0700 |
| commit | 613fc2f6677777c1479e07ca4a43710dcd3dee9d (patch) | |
| tree | 69381ab9ee828e24a12dcf743a616576ce7fcb8c | |
| parent | 4f84e1c313fc8dc719371f3563ace3d0739b0a89 (diff) | |
mmc: Enable eMMC unit-tests
Enable the compilation of eMMC4.5 unit-tests, required by APT team.
This will allow the APT team to test the storage activity on released
builds.
The storage tests are disabled in normal operation and in order to
activate them a test I/O scheduler should be chosen and the test should
be triggered via debugfs. Therefore they have no effect on normal eMMC
driver operation.
Change-Id: I179c567f67cc8fab9ed1edab8246483de18bc76a
Signed-off-by: Maya Erez <merez@codeaurora.org>
[venkatg@codeaurora.org: Fixed trivial merge conflict]
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
| -rw-r--r-- | block/Kconfig.iosched | 2 | ||||
| -rw-r--r-- | drivers/mmc/card/Kconfig | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index af3d6a330982..63a4527e0068 100644 --- a/block/Kconfig.iosched +++ b/block/Kconfig.iosched @@ -15,7 +15,7 @@ config IOSCHED_NOOP config IOSCHED_TEST tristate "Test I/O scheduler" depends on DEBUG_FS - default m + default y ---help--- The test I/O scheduler is a duplicate of the noop scheduler with addition of test utlity. diff --git a/drivers/mmc/card/Kconfig b/drivers/mmc/card/Kconfig index 5562308699bc..cb24993c311b 100644 --- a/drivers/mmc/card/Kconfig +++ b/drivers/mmc/card/Kconfig @@ -68,3 +68,14 @@ 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_BLOCK_TEST + tristate "MMC block test" + depends on MMC_BLOCK && IOSCHED_TEST + default y + help + MMC block test can be used with test iosched to test the MMC block + device. + Currently used to test eMMC 4.5 features (packed commands, sanitize, + BKOPs). + |
