From: Akinobu Mita Date: Fri, 7 Sep 2012 16:48:10 +0000 (+0900) Subject: mtd: mtd_nandecctest: add double bit error detection tests X-Git-Tag: v3.7-rc1~70^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed