Skip to content

Commit

Permalink
mtd: spinand: winbond: Add comment about naming
Browse files Browse the repository at this point in the history
Make the link between the core macros and the datasheet.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
  • Loading branch information
Miquel Raynal committed Jan 15, 2025
1 parent 1ea808b commit 61c7155
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/mtd/nand/spi/winbond.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

#define W25N04KV_STATUS_ECC_5_8_BITFLIPS (3 << 4)

/*
* "X2" in the core is equivalent to "dual output" in the datasheets,
* "X4" in the core is equivalent to "quad output" in the datasheets.
*/

static SPINAND_OP_VARIANTS(read_cache_dtr_variants,
SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 2, NULL, 0),
SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0),
Expand Down

0 comments on commit 61c7155

Please sign in to comment.