From: Stefan Bigler Date: Mon, 18 Jul 2011 13:25:11 +0000 (+0200) Subject: nand: increase chip_delay in mv kirkwood nand driver X-Git-Tag: v2011.12-rc1~599^2~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=156800905a17f3ce1638f89fb0f7b4bf55a1fa02;p=u-boot 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 --- 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; }