mirror of https://github.com/torvalds/linux.git
mtd: spi-nor: winbond: Add support for W25Q01NWxxIM chips
These chips must be described as none of the block protection information are discoverable. This chip supports 4 bits plus the top/bottom addressing capability to identify the protected blocks. Cc: stable@vger.kernel.org Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Michael Walle <mwalle@kernel.org> Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
This commit is contained in:
parent
aee8c4d9d4
commit
a607e676c8
|
|
@ -347,6 +347,10 @@ static const struct flash_info winbond_nor_parts[] = {
|
|||
/* W25Q01NWxxIQ */
|
||||
.id = SNOR_ID(0xef, 0x60, 0x21),
|
||||
.flags = SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6 | SPI_NOR_4BIT_BP,
|
||||
}, {
|
||||
/* 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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue