Commit aee8c4d9 authored by Miquel Raynal's avatar Miquel Raynal Committed by Pratyush Yadav
Browse files

mtd: spi-nor: winbond: Add support for W25Q01NWxxIQ chips



This chip 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: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarMichael Walle <mwalle@kernel.org>
Signed-off-by: default avatarPratyush Yadav <pratyush@kernel.org>
parent 3a866087
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -343,6 +343,10 @@ static const struct flash_info winbond_nor_parts[] = {
		.id = SNOR_ID(0xef, 0x80, 0x20),
		.name = "w25q512nwm",
		.otp = SNOR_OTP(256, 3, 0x1000, 0x1000),
	}, {
		/* 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,
	},
};