mtd: rawnand: Deprecate ->chip_delay
The wait timeouts and delays are directly extracted from the NAND timings and ->chip_delay is only used in legacy path, so let's move it to the nand_legacy struct to make it clear. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:

committed by
Miquel Raynal

parent
4524036793
commit
3cece3abeb
@@ -882,7 +882,7 @@ static int lpc32xx_nand_probe(struct platform_device *pdev)
|
||||
chip->legacy.IO_ADDR_W = SLC_DATA(host->io_base);
|
||||
chip->legacy.cmd_ctrl = lpc32xx_nand_cmd_ctrl;
|
||||
chip->legacy.dev_ready = lpc32xx_nand_device_ready;
|
||||
chip->chip_delay = 20; /* 20us command delay time */
|
||||
chip->legacy.chip_delay = 20; /* 20us command delay time */
|
||||
|
||||
/* Init NAND controller */
|
||||
lpc32xx_nand_setup(host);
|
||||
|
Reference in New Issue
Block a user