fix: nand: pxa3xx: Add WA for eliminating flash ready timeout
add delay before processing the status flags in pxa3xx_nand_irq(). Signed-off-by: David Sniatkiwicz <davidsn@marvell.com> Reviewed-by: Igal Liberman <igall@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com> c: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
b7b3f2c8bb
commit
e76afd8409
|
|
@ -668,6 +668,9 @@ static irqreturn_t pxa3xx_nand_irq(struct pxa3xx_nand_info *info)
|
||||||
cmd_done = NDSR_CS1_CMDD;
|
cmd_done = NDSR_CS1_CMDD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* TODO - find out why we need the delay during write operation. */
|
||||||
|
ndelay(1);
|
||||||
|
|
||||||
status = nand_readl(info, NDSR);
|
status = nand_readl(info, NDSR);
|
||||||
|
|
||||||
if (status & NDSR_UNCORERR)
|
if (status & NDSR_UNCORERR)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue