mtd: rawnand: ams-delta: Don't hardcode read/write pulse widths
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Wed, 12 Feb 2020 00:39:22 +0000 (01:39 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 9 Mar 2020 13:51:01 +0000 (14:51 +0100)
commitccada49b050f44df9499859f09b822b8aebc3a4d
treed19840a022e736a9561ae9a0d97094a729dbcc9a
parent241008ed0bb5955e52e06d7270e87c974bbaadd6
mtd: rawnand: ams-delta: Don't hardcode read/write pulse widths

Instead of forcing Amstrad Delta specific read/write pulse widths, use
variables initialised from respective fields of chip SDR timings.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200212003929.6682-8-jmkrzyszt@gmail.com
drivers/mtd/nand/raw/ams-delta.c