diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-09-07 20:48:10 +0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 18:48:02 +0400 |
commit | 6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17 (patch) | |
tree | 25254895560a1c0a8997928b2dbd0f12bc6eb9ae /drivers/mtd/nand/davinci_nand.c | |
parent | 200ab8454c42c607efd281b2c2398624eccdd2cc (diff) | |
download | linux-6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17.tar.xz |
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 'drivers/mtd/nand/davinci_nand.c')
0 files changed, 0 insertions, 0 deletions