Commit 6df2d955 authored by Bastien Curutchet's avatar Bastien Curutchet Committed by Miquel Raynal
Browse files

mtd: rawnand: davinci: Reduce polling interval in NAND_OP_WAITRDY_INSTR



For each NAND_OP_WAITRDY_INSTR operation, the NANDFSR register is
polled only once every 100 us to check for the EMA_WAIT pin. This
isn't frequent enough and causes delays in NAND accesses.

Set the polling interval to 5 us. It increases the page read speed
reported by flash_speed by ~30% (~10% on page writes).

Signed-off-by: default avatarBastien Curutchet <bastien.curutchet@bootlin.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent b9371866
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment