nand: increase chip_delay in mv kirkwood nand driver
authorStefan Bigler <stefan.bigler@keymile.com>
Mon, 18 Jul 2011 13:25:11 +0000 (15:25 +0200)
committerScott Wood <scottwood@freescale.com>
Mon, 3 Oct 2011 23:35:11 +0000 (18:35 -0500)
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 <stefan.bigler@keymile.com>
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Stefan Roese <sr@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/kirkwood_nand.c

index 376378e..bdab5aa 100644 (file)
@@ -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;
 }