]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: gpmi: rewrite the gpmi_ecc_write_oob() to support the jffs2
authorHuang Shijie <b32955@freescale.com>
Wed, 25 Sep 2013 06:58:15 +0000 (14:58 +0800)
committerHuang Shijie <b32955@freescale.com>
Tue, 5 Nov 2013 01:17:19 +0000 (09:17 +0800)
commitbd756634deff1ec68c6f8a022b49cd72d4df1788
tree1385dae67235e4633435ca4d14bc4af37390281f
parent8a142d502c9e037de3502aae1728e67adcbbd5b5
mtd: gpmi: rewrite the gpmi_ecc_write_oob() to support the jffs2

When we use the ECC info which is get from the nand chip's datasheet,
we may have some freed oob area now.

This patch rewrites the gpmi_ecc_write_oob() to implement the ecc.write_oob().
We also update the comment for gpmi_hw_ecclayout.

Yes! We can support the JFFS2 for the SLC nand now.

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