diff options
| author | 2012-09-08 01:48:10 +0900 | |
|---|---|---|
| committer | 2012-09-29 15:48:02 +0100 | |
| commit | 6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17 (patch) | |
| tree | 25254895560a1c0a8997928b2dbd0f12bc6eb9ae /include/linux/mtd | |
| parent | mtd: mtd_nandecctest: add single bit error correction test (diff) | |
| download | linux-dev-6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17.tar.xz linux-dev-6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17.zip | |
mtd: mtd_nandecctest: add double bit error detection tests
This adds the double bit error detection test cases listed below:
* Prepare data block with double bit error and ECC data without
corruption, and verify that the uncorrectable error is detected by
__nand_correct_data().
* Prepare data block with single bit error and ECC data with single bit
error, and verify that the uncorrectable error is detected.
* Prepare data block without corruption and ECC data with double bit
error, and verify that the uncorrectable error is detected.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions
