From 156800905a17f3ce1638f89fb0f7b4bf55a1fa02 Mon Sep 17 00:00:00 2001 From: Stefan Bigler Date: Mon, 18 Jul 2011 15:25:11 +0200 Subject: [PATCH] nand: increase chip_delay in mv kirkwood nand driver The new SAMSUNG NAND Flash K9F1G08U0D require a bigger chip_delay. The Data Transfer from Cell to Register is >= 35us. Other Vendors and older chips normally use >= 25us. To have enough margin 40us is selected. Signed-off-by: Stefan Bigler Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Stefan Roese Signed-off-by: Scott Wood --- drivers/mtd/nand/kirkwood_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/kirkwood_nand.c b/drivers/mtd/nand/kirkwood_nand.c index 376378ed3f..bdab5aa795 100644 --- a/drivers/mtd/nand/kirkwood_nand.c +++ b/drivers/mtd/nand/kirkwood_nand.c @@ -76,7 +76,7 @@ int board_nand_init(struct nand_chip *nand) nand->options = NAND_COPYBACK | NAND_CACHEPRG | NAND_NO_PADDING; nand->ecc.mode = NAND_ECC_SOFT; nand->cmd_ctrl = kw_nand_hwcontrol; - nand->chip_delay = 30; + nand->chip_delay = 40; nand->select_chip = kw_nand_select_chip; return 0; } -- 2.30.2