Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: spinand: winbond: Set the packed page read flag to W35N02/04JW

Both W35N02JW and W35N04JW diverge from W35N01JW when it comes to the
"data read" operation in ODTR mode. In order to stuff more address
bits (up to 18), the second command byte is replaced by the most
significant address bits, keeping the number of address bytes to 2.

Fixes: 44a2f49b9bdc ("mtd: spinand: winbond: W35N octal DTR support")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

+2 -2
+2 -2
drivers/mtd/nand/spi/winbond.c
··· 518 518 SPINAND_INFO_OP_VARIANTS(&read_cache_octal_variants, 519 519 &write_cache_octal_variants, 520 520 &update_cache_octal_variants), 521 - 0, 521 + SPINAND_ODTR_PACKED_PAGE_READ, 522 522 SPINAND_INFO_VENDOR_OPS(&winbond_w35_ops), 523 523 SPINAND_ECCINFO(&w35n01jw_ooblayout, NULL), 524 524 SPINAND_CONFIGURE_CHIP(w35n0xjw_vcr_cfg)), ··· 529 529 SPINAND_INFO_OP_VARIANTS(&read_cache_octal_variants, 530 530 &write_cache_octal_variants, 531 531 &update_cache_octal_variants), 532 - 0, 532 + SPINAND_ODTR_PACKED_PAGE_READ, 533 533 SPINAND_INFO_VENDOR_OPS(&winbond_w35_ops), 534 534 SPINAND_ECCINFO(&w35n01jw_ooblayout, NULL), 535 535 SPINAND_CONFIGURE_CHIP(w35n0xjw_vcr_cfg)),