From: Huang Shijie Date: Fri, 25 Jan 2013 06:04:07 +0000 (+0800) Subject: mtd: gpmi: set the Golois Field bit for mx6q's BCH X-Git-Tag: v3.9-rc1~18^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff16f0833806b6b59aaf0cc158fa6e42f24d7e4;p=pandora-kernel.git mtd: gpmi: set the Golois Field bit for mx6q's BCH The GF13 can be only used in the following case: The ECC data chunk is less then 1K bytes. In mx23/mx28, the ecc data chunk is 512 bytes. So it is okay. But in mx6q, we begin to use some large nand chip whose ecc data chunk maybe 1K bytes long. So when the data chunk is 1K bytes, we have to use the GF14. This patch sets the Golois Field bit when the GF14 is needed. Signed-off-by: Huang Shijie Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed