From 6060fb42a0bf93015d05c1a857b94894936f40ee Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Sat, 8 Sep 2012 01:48:07 +0900 Subject: [PATCH] mtd: mtd_nandecctest: rewrite the test routine This rewrites the entire test routine in order to make it easy to add more tests by later changes and minimize duplication of each tests as much as possible. Now that each test is described by the members of struct nand_ecc_test: - name: descriptive testname - prepare: function to prepare data block and ecc with artifical corruption - verify: function to verify the result of correcting data block Signed-off-by: Akinobu Mita Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-format-patch failed