mtd: spi-nor: winbond: add support for w25q01jv-im
Subsystems (2)
PATCH 1/1 mtd: spi-nor: winbond: add support for w25q01jv-im
Add support for winbond w25q01jv-im chip.
Signed-off-by Delphine CC Chiu <[email protected]>
--- drivers/mtd/spi-nor/winbond.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mtd/spi-nor/winbond.c +2 -0
@@ -139,6 +139,8 @@ static const struct flash_info winbond_nor_parts[] = { { "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024)NO_SFDP_FLAGS (SECT_4K |SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "w25q01jvm", INFO(0xef7021, 0, 64 * 1024, 2048) + PARSE_SFDP }, };/**
Signature · 1 line
2.25.1
Quoted 14 lines · Delphine CC Chiu
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Add support for winbond w25q01jv-im chip.
Signed-off-by Delphine CC Chiu <[email protected]>--- drivers/mtd/spi-nor/winbond.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi-nor/winbond.c +0
-0
drivers/mtd/spi-nor/winbond.c static const struct flash_info winbond_nor_parts[] = { · line 145
Quoted 7 lines
drivers/mtd/spi-nor/winbond.c +2
-0@@ -139,6 +139,8 @@ static const struct flash_info winbond_nor_parts[] = { { "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024)NO_SFDP_FLAGS (SECT_4K |SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "w25q01jvm", INFO(0xef7021, 0, 64 * 1024, 2048) + PARSE_SFDP }, };
Hi!
The flash entry is not really needed as all its features and parameters are initialized by parsing SFDP, so we can instead use the spi-nor-generic driver that was introduced by Michael at:
https://lore.kernel.org/linux-mtd/[email protected]/T/#t
Signature · 6 lines
Cheers, ta ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/