mbox series

[0/2] mtd: nand: fsl-ifc: fix SRAM initialization for newer controller

Message ID 20180806092137.9287-1-kurt@linutronix.de
Headers show
Series mtd: nand: fsl-ifc: fix SRAM initialization for newer controller | expand

Message

Kurt Kanzenbach Aug. 6, 2018, 9:21 a.m. UTC
Hi,

the current way of initializing the internal SRAM of the IFC controller only
works for older controller versions. Newer versions require a different
method. So, adding support for it.

Thereby, the result of the SRAM initialization should be checked. If it's not
successful, further commands such as read won't work.

Tested on hardware.

Thanks,
Kurt

Kurt Kanzenbach (2):
  mtd: nand: fsl-ifc: check result of SRAM initialization
  mtd: nand: fsl-ifc: fixup SRAM init for newer ctrl versions

 drivers/mtd/nand/raw/fsl_ifc_nand.c | 35 +++++++++++++++++++++++++++++++----
 include/linux/fsl_ifc.h             |  2 ++
 2 files changed, 33 insertions(+), 4 deletions(-)