mtd: add the ecc info for some full-id nand chips
authorHuang Shijie <b32955@freescale.com>
Fri, 17 May 2013 03:17:33 +0000 (11:17 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:34:47 +0000 (21:34 +0100)
commitd1048aaf6d8b467d226c8d8901017ca48f4e48e9
tree65ed378c84d7063d426f56fcc1529ccee61fa98a
parent5721934206f5517b159adffd91a9583c509b4e28
mtd: add the ecc info for some full-id nand chips

Add the ecc info for TC58NVG2S0F, TC58NVG3S0F, TC58NVG5D2 and TC58NVG6D2.

From these chips' datasheets, we know that:
   The TC58NVG2S0F and TC58NVG3S0F require 4bit ECC for per 512byte.
   The TC58NVG5D2 and TC58NVG6D2 require 40bits ECC for per 1024byte.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_ids.c