diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-09-08 01:48:07 +0900 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 15:47:37 +0100 |
commit | 6060fb42a0bf93015d05c1a857b94894936f40ee (patch) | |
tree | 4b28d8730eba19b6f61692b520c7529039fd3605 /usr/initramfs_data.S | |
parent | c092b43906098a6879d0fa9f74e5141516b9b856 (diff) | |
download | linux-6060fb42a0bf93015d05c1a857b94894936f40ee.tar.bz2 |
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 <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 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions