diff mbox

mtd: nand: increase tWB to 200ns

Message ID c6ed3415192689588a77277dca1fdf174f87b244.1423739182.git.baruch@tkos.co.il
State Rejected
Headers show

Commit Message

Baruch Siach Feb. 12, 2015, 11:06 a.m. UTC
ONFI spec (version 4.0, ยง4.18.1) sets tWB to max 200ns for SDR mode 0.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 drivers/mtd/nand/nand_base.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 31e252a5ce9c..ebb7749247d5 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -662,7 +662,7 @@  static void nand_command(struct mtd_info *mtd, unsigned int command,
 	 * Apply this short delay always to ensure that we do wait tWB in
 	 * any case on any machine.
 	 */
-	ndelay(100);
+	ndelay(200);
 
 	nand_wait_ready(mtd);
 }
@@ -774,7 +774,7 @@  static void nand_command_lp(struct mtd_info *mtd, unsigned int command,
 	 * Apply this short delay always to ensure that we do wait tWB in
 	 * any case on any machine.
 	 */
-	ndelay(100);
+	ndelay(200);
 
 	nand_wait_ready(mtd);
 }
@@ -883,7 +883,7 @@  static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip)
 	 * Apply this short delay always to ensure that we do wait tWB in any
 	 * case on any machine.
 	 */
-	ndelay(100);
+	ndelay(200);
 
 	chip->cmdfunc(mtd, NAND_CMD_STATUS, -1, -1);