summaryrefslogtreecommitdiff
path: root/include/linux/mtd/rawnand.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-07 13:52:38 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-11 10:51:43 +0300
commitdaca31765e8bea70373fc9e604f562942168300b (patch)
tree9cbb5255b2455e9d57dae52f16f7e768cdc6976b /include/linux/mtd/rawnand.h
parentc27842e7e11f97f0ba5f668953327acdb141c452 (diff)
downloadlinux-daca31765e8bea70373fc9e604f562942168300b.tar.xz
mtd: rawnand: jedec: Adapt the parameter page read to constraint controllers
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 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 eithe a CHANGE READ COLUMN or a simple DATA READ operation for the following copies, depending on what the controller supports. The default for non-exec-op compliant drivers remains unchanged: use a SIMPLE READ. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200507105241.14299-11-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/mtd/rawnand.h')
0 files changed, 0 insertions, 0 deletions