diff options
author | Kurt Kanzenbach <kurt@linutronix.de> | 2018-08-13 10:18:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 20:45:55 +0300 |
commit | d6ebf70120c6140c822d38f58eb246a2694dd6fd (patch) | |
tree | 0e9673d881f2647c007a18605143fdadd64739c9 /include | |
parent | 29535bafb64b43a9c1925b95cd73143f55582ddf (diff) | |
download | linux-d6ebf70120c6140c822d38f58eb246a2694dd6fd.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fsl_ifc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fsl_ifc.h b/include/linux/fsl_ifc.h index 3fdfede2f0f3..5f343b796ad9 100644 --- a/include/linux/fsl_ifc.h +++ b/include/linux/fsl_ifc.h @@ -274,6 +274,8 @@ */ /* Auto Boot Mode */ #define IFC_NAND_NCFGR_BOOT 0x80000000 +/* SRAM Initialization */ +#define IFC_NAND_NCFGR_SRAM_INIT_EN 0x20000000 /* Addressing Mode-ROW0+n/COL0 */ #define IFC_NAND_NCFGR_ADDR_MODE_RC0 0x00000000 /* Addressing Mode-ROW0+n/COL0+n */ |