]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spinand: Add support for packed read data ODTR commands
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 10 Apr 2026 17:41:03 +0000 (19:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 27 Apr 2026 13:08:04 +0000 (15:08 +0200)
commit5e25407b68f460142539536e31fa20338db6146f
tree6173fede5a77e239e9150e56f8c35c055456f690
parente47029b977e747cb3a9174308fd55762cce70147
mtd: spinand: Add support for packed read data ODTR commands

Some devices stuff address bits in the double byte opcode (in place of
the repeated byte) in order to be able to increase the size of the
devices, without adding extra address bytes.

Create a flag to identify those devices. When the flag is set, use the
"packed" variant for the read data operation.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/core.c
include/linux/mtd/spinand.h