From: Akinobu Mita Date: Thu, 22 Oct 2009 07:53:33 +0000 (+0900) Subject: mtd: add nand_ecc test module X-Git-Tag: v2.6.33-rc1~66^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7126bd8be4ee009c56c4ec037f07f2c0884413fc;p=pandora-kernel.git mtd: add nand_ecc test module This module tests NAND ECC functions. The test is simple. 1. Create a 256 or 512 bytes block of data filled with random bytes (data) 2. Duplicate the data block and inject single bit error (error_data) 3. Try to correct error_data 4. Compare data and error_data Signed-off-by: Akinobu Mita Acked-by: Vimal Singh Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed