mtd/ifc: Add support for IFC controller version 2.0
authorRaghav Dogra <raghav.dogra@nxp.com>
Wed, 17 Feb 2016 11:24:18 +0000 (16:54 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 19 Apr 2016 20:04:53 +0000 (22:04 +0200)
commit7a654172161c8c9c7d59cbd0054d9e63c7411219
tree457e9f43c37983d8864e260ded2f14e9d23212e2
parent11eaf6df1cce3c5e9f51b422aaedc42dc4aa1d37
mtd/ifc: Add support for IFC controller version 2.0

The new IFC controller version 2.0 has a different memory map page.
Upto IFC 1.4 PAGE size is 4 KB and from IFC2.0 PAGE size is 64KB.
This patch segregates the IFC global and runtime registers to appropriate
PAGE sizes.

Signed-off-by: Jaiprakash Singh <b44839@freescale.com>
Signed-off-by: Raghav Dogra <raghav@freescale.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Raghav Dogra <raghav.dogra@nxp.com>
Acked-by: Scott Wood <oss@buserror.net>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/memory/fsl_ifc.c
drivers/mtd/nand/fsl_ifc_nand.c
include/linux/fsl_ifc.h