• Prabhakar Kushwaha's avatar
    driver/mtd/ifc: Read Status while programming NAND flash · 4af98749
    Prabhakar Kushwaha authored
    as per controller description,
      "While programming a NAND flash, status read should never skipped.
       Because it may happen that a new command is issued to the NAND Flash,
       even when the device has not yet finished processing the previous request.
       This may result in unpredictable behaviour."
    
    IFC controller never polls for R/B signal after command send. It just return
    control to software. This behaviour may not occur with NAND flash access.
    because new commands are sent after polling R/B signal. But it may happen
    in scenario where GPCM-ASIC and NAND flash device are working simultaneously.
    
    Update the controller driver to take care of this requirement
    Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
    Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
    4af98749
fsl_ifc_nand.c 32.6 KB