Skip to content

Commit 8d65574

Browse files
committed
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: 44a2f49 ("mtd: spinand: winbond: W35N octal DTR support") Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent 5e25407 commit 8d65574

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mtd/nand/spi/winbond.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ static const struct spinand_info winbond_spinand_table[] = {
518518
SPINAND_INFO_OP_VARIANTS(&read_cache_octal_variants,
519519
&write_cache_octal_variants,
520520
&update_cache_octal_variants),
521-
0,
521+
SPINAND_ODTR_PACKED_PAGE_READ,
522522
SPINAND_INFO_VENDOR_OPS(&winbond_w35_ops),
523523
SPINAND_ECCINFO(&w35n01jw_ooblayout, NULL),
524524
SPINAND_CONFIGURE_CHIP(w35n0xjw_vcr_cfg)),
@@ -529,7 +529,7 @@ static const struct spinand_info winbond_spinand_table[] = {
529529
SPINAND_INFO_OP_VARIANTS(&read_cache_octal_variants,
530530
&write_cache_octal_variants,
531531
&update_cache_octal_variants),
532-
0,
532+
SPINAND_ODTR_PACKED_PAGE_READ,
533533
SPINAND_INFO_VENDOR_OPS(&winbond_w35_ops),
534534
SPINAND_ECCINFO(&w35n01jw_ooblayout, NULL),
535535
SPINAND_CONFIGURE_CHIP(w35n0xjw_vcr_cfg)),

0 commit comments

Comments
 (0)