mtd: mtd_nandecctest: add no corruption test
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 7 Sep 2012 16:48:08 +0000 (01:48 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 14:47:45 +0000 (15:47 +0100)
commitccaa67956cfef80776d72d134467235f0055c863
tree37093c6dea3eb216018482314f4120d0599d6217
parent6060fb42a0bf93015d05c1a857b94894936f40ee
mtd: mtd_nandecctest: add no corruption test

This adds no corruptin test case listed below:

Prepare data block and ECC data with no corruption, and verify that
the data block is preserved by __nand_correct_data()

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>
drivers/mtd/tests/mtd_nandecctest.c