From: Huang Shijie Date: Tue, 29 Jan 2013 01:23:38 +0000 (+0800) Subject: mtd: gpmi: add sanity check for the ECC X-Git-Tag: v3.9-rc1~18^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d0e09abeebdd3f699c9f12401a9e3998a20546;p=pandora-kernel.git mtd: gpmi: add sanity check for the ECC We do the check based on the following two facts: [1] The mx23/mx28 can only support 20-bits ECC, while the mx6 can supports 40-bits ECC. [2] The mx23/mx28 can only support the GF13, while the mx6 can supports GF13 and GF14. Signed-off-by: Huang Shijie Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed