mtd/nand: Fix IFC driver to support 2K NAND page
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Fri, 20 Jan 2012 13:09:05 +0000 (18:39 +0530)
committerScott Wood <scottwood@freescale.com>
Tue, 28 Feb 2012 20:03:39 +0000 (14:03 -0600)
commitd90361285c1c9751bd1b3700a18db882b32ddad5
tree8fc87ee125926a43ab94c450da5bab13f3772288
parentfb49454b1b6c7c6e238ac3c0b1e302e73eb1a1ea
mtd/nand: Fix IFC driver to support 2K NAND page

1) OOB area should be updated irrespective of NAND page size. Earlier it was
updated only for 512byte NAND page.

2) During OOB update fbcr should be equal to OOB size.

Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/fsl_ifc_nand.c