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:
parent
4524036793
commit
3cece3abeb
39 changed files with 53 additions and 54 deletions
|
|
@ -240,7 +240,7 @@ necessary information about the device.
|
|||
/* Reference hardware control function */
|
||||
this->hwcontrol = board_hwcontrol;
|
||||
/* Set command delay time, see datasheet for correct value */
|
||||
this->chip_delay = CHIP_DEPENDEND_COMMAND_DELAY;
|
||||
this->legacy.chip_delay = CHIP_DEPENDEND_COMMAND_DELAY;
|
||||
/* Assign the device ready function, if available */
|
||||
this->legacy.dev_ready = board_dev_ready;
|
||||
this->eccmode = NAND_ECC_SOFT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue