mtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions
authorKurt Kanzenbach <kurt@linutronix.de>
Mon, 13 Aug 2018 07:18:46 +0000 (09:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Nov 2019 17:45:55 +0000 (18:45 +0100)
commitd6ebf70120c6140c822d38f58eb246a2694dd6fd
tree0e9673d881f2647c007a18605143fdadd64739c9
parent29535bafb64b43a9c1925b95cd73143f55582ddf
mtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions

[ Upstream commit 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/nand/raw/fsl_ifc_nand.c
include/linux/fsl_ifc.h