driver/mtd/IFC: Add support of 8K page size NAND flash
commitebff90b288c347f3af1b3d164c258aeb2bed60ec
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Tue, 24 Sep 2013 11:11:23 +0000 (24 16:41 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:33:00 +0000 (6 23:33 -0800)
tree5193c83339ae68d215df9b01e360fedfe289a90f
parenta4d62babf988fe5dfde24437fa135ef147bc7aa0
driver/mtd/IFC: Add support of 8K page size NAND flash

Current IFC driver supports till 4K page size NAND flash.
Add support of 8K Page size NAND flash
  - Add nand_ecclayout for 4 bit & 8 bit ecc
  - Defines constants
  - also fix ecc.strength for 8bit ecc of 8K page size NAND

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
arch/powerpc/include/asm/fsl_ifc.h
drivers/mtd/nand/fsl_ifc_nand.c