e.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y
2018-09-04T21:37:38Zmtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions2018-09-04T21:37:38ZKurt Kanzenbachkurt@linutronix.de2018-08-13T07:18:46Zurn:sha1:ff8648f29fe58c2d94d32a076d2de7b92be4b485
Newer versions of the IFC controller use a different method of initializing the
internal SRAM: Instead of reading from flash, a bit in the NAND configuration
register has to be set in order to trigger the self-initializing process.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
mtd: nand: fsl_ifc: Read ECCSTAT0 and ECCSTAT1 registers for IFC 2.02018-03-21T09:22:28ZJagdish Gediyajagdish.gediya@nxp.com2018-03-21T19:38:10Zurn:sha1:6b00c35138b404be98b85f4a703be594cbed501c
Due to missing information in Hardware manual, current
implementation doesn't read ECCSTAT0 and ECCSTAT1 registers
for IFC 2.0.
Add support to read ECCSTAT0 and ECCSTAT1 registers during
ecccheck for IFC 2.0.
Fixes: 656441478ed5 ("mtd: nand: ifc: Fix location of eccstat registers for IFC V1.0")
Cc: stable@vger.kernel.org # v3.18+
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>