summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2026-09-21 08:43:36 +0200
committerMichael Walle <mwalle@kernel.org>2026-09-21 09:52:24 +0200
commitacaacdb1e75d7ebca7ffb1fa97f149b08ea0fd3e (patch)
treef100c517d25f5bb3005ffec2781181ff3d790595 /drivers
parenta13c9bf62caa62a4cb96d7b85394346cabb73496 (diff)
mtd: spi-nor: winbond: W25Q128JW-Q/N: Fill locking information
The SFDP table does not advertize the locking capabilities of the device, flag the missing capabilities. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Michael Walle <mwalle@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/spi-nor/winbond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c
index 7097948e7dba..4201bda91dcd 100644
--- a/drivers/mtd/spi-nor/winbond.c
+++ b/drivers/mtd/spi-nor/winbond.c
@@ -341,7 +341,7 @@ static const struct flash_info winbond_nor_parts[] = {
.id = SNOR_ID(0xef, 0x60, 0x18),
.name = "w25q128fw",
.size = SZ_16M,
- .flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB,
+ .flags = 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,
}, {
/* W25Q256JW-Q/N */