On Thu, 2020-05-07 at 10:52:37 UTC, Miquel Raynal wrote: > We already know that there are controllers not able to read the three > copies of the parameter page in one go. The workaround was to first > request the controller to assert command and address cycles on the > NAND bus to trigger a parameter page read, and then do a simple read > operation for each page. > > But there are also controllers which are not able to split the > parameter page read between the command/address cycles and the actual > data operation. > > Let's use a regular PARAMETER PAGE READ operation for the first > iteration and use either a CHANGE READ COLUMN or a simple DATA READ > operation for the following copies, depending on what the controller > supports. The default behavior for non-exec-op compliant drivers > remains the same: DATA READ. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/