From: Huang Shijie Date: Fri, 17 May 2013 03:17:31 +0000 (+0800) Subject: mtd: add ECC info for nand_flash_dev{} X-Git-Tag: v3.12-rc1~82^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dc0bdd91bb63f7d5755137177315c49637f6a96;p=pandora-kernel.git mtd: add ECC info for nand_flash_dev{} Add an instance of an anonymous struct to store the ECC info for full id nand chips. @ecc.strength_ds: ECC correctability from the datasheet. @ecc.step_ds: ECC size required by the @ecc.strength_ds, These two fields are all from the datasheet. Also add the necessary macros to make the code simple and clean. Signed-off-by: Huang Shijie Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-diff-tree failed