mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
mtd: spi-nor: winbond: Add W25Q01NWxxIM CMP locking support
This chip has support for the locking complement (CMP) feature. Add the relevant bit to enable it. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
This commit is contained in:
parent
f468f05f07
commit
eb403cb56e
|
|
@ -374,7 +374,8 @@ static const struct flash_info winbond_nor_parts[] = {
|
|||
}, {
|
||||
/* W25Q01NWxxIM */
|
||||
.id = SNOR_ID(0xef, 0x80, 0x21),
|
||||
.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6 | SPI_NOR_4BIT_BP,
|
||||
.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6 |
|
||||
SPI_NOR_4BIT_BP | SPI_NOR_HAS_CMP,
|
||||
}, {
|
||||
/* W25Q02NWxxIM */
|
||||
.id = SNOR_ID(0xef, 0x80, 0x22),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user