driver/nand: Add support of 16K SRAM for IFC 2.0
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Sat, 14 Jun 2014 03:18:19 +0000 (08:48 +0530)
committerYork Sun <yorksun@freescale.com>
Tue, 22 Jul 2014 23:25:54 +0000 (16:25 -0700)
commit591dd192307d81cf8f8705b06854e973c53d4c4d
tree38b6eb8c5b11734a57cee2a1a273073eb8aa0106
parent32514d259bf37cc92872aeb0624b75f600e7fb3a
driver/nand: Add support of 16K SRAM for IFC 2.0

Internal SRAM has been incresed from 8KB to 16KB for IFC cotroller ver 2.0.

Update the page offset calculation logic to support the same.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mtd/nand/fsl_ifc_nand.c
drivers/mtd/nand/fsl_ifc_spl.c
include/fsl_ifc.h