mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 18:37:30 -04:00
mtd: spi-nor: winbond: Add W25H512NWxxAM 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:
committed by
Pratyush Yadav
parent
f5d81415a7
commit
591be2ba78
@@ -360,7 +360,8 @@ static const struct flash_info winbond_nor_parts[] = {
|
||||
}, {
|
||||
/* W25H512NWxxAM */
|
||||
.id = SNOR_ID(0xef, 0xa0, 0x20),
|
||||
.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,
|
||||
}, {
|
||||
/* W25H01NWxxAM */
|
||||
.id = SNOR_ID(0xef, 0xa0, 0x21),
|
||||
|
||||
Reference in New Issue
Block a user