[PATCH 28/30] mtd: spi-nor: winbond: W25QxxJV-Q/N/M: Drop redundant data
From: Miquel Raynal
Date: Fri May 29 2026 - 12:16:08 EST
I do not have any W25Q256JV-Q/N nor any W25Q16JV-M chips in hand, but
all the other chips from the JV family have the same SFDP table,
correctly advertizing the capabilities which are redundantly repeated in
the table. We can reasonably expect that these chips follow the exact same
rules, so drop that extra data.
I am on purpose skipping the W25Q128JV-Q/N because there is also a Zetta
clone that seem to share the same ID, and I have no idea how this chip
works (add a small comment in the table about this).
Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
---
drivers/mtd/spi-nor/winbond.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index 1e5ad4e3ef7a..c1dbdf7610fb 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -212,12 +212,11 @@ static const struct flash_info winbond_nor_parts[] = {
.size = SZ_16M,
.flags = SPI_NOR_QUAD_PP | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_HAS_CMP,
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
+ /* Zetta clone */
.fixups = &w25q128_fixups,
}, {
/* W25Q256JV-Q/N */
.id = SNOR_ID(0xef, 0x40, 0x19),
- .size = SZ_32M,
- .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
.fixups = &w25q256_fixups,
}, {
/* W25Q512JV-Q/N */
@@ -288,9 +287,7 @@ static const struct flash_info winbond_nor_parts[] = {
}, {
/* W25Q16JV-M */
.id = SNOR_ID(0xef, 0x70, 0x15),
- .size = SZ_2M,
.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB,
- .no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
}, {
/* W25Q32JV-M */
.id = SNOR_ID(0xef, 0x70, 0x16),
--
2.53.0