]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 8 Aug 2013 22:57:36 +0000 (15:57 -0700)
commite6669a44c739a137b4f24f3b2c1e99fc14c4c67a
tree650f140406fa9ef7162506d4022c5625963d5e1c
parentc065ba6bcd365894758a48e331ce6379c89f0a1f
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>
drivers/mtd/nand/nand_ids.c