[PATCH] mtd: spi-nor: add support for Winbond w25q256jwm
Marco Felsch
m.felsch at pengutronix.de
Tue Jan 2 01:18:37 PST 2024
Add entry for Winbond w25q256jwm. Flags are aligned with the Linux
spi-nor/winbond driver.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
drivers/mtd/spi-nor/spi-nor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 5ad95ff50d1b..1773db09a1ab 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -874,6 +874,8 @@ static const struct spi_device_id spi_nor_ids[] = {
{ "w25q128", INFO(0xef7018, 0, 64 * 1024, 256, SECT_4K) },
{ "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K |
SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_QUAD_WRITE | SPI_NOR_4B_OPCODES) },
+ { "w25q256jwm", INFO(0xef8019, 0, 64 * 1024, 512, SECT_4K |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
/* Catalyst / On Semiconductor -- non-JEDEC */
{ "cat25c11", CAT25_INFO( 16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
--
2.39.2
More information about the barebox
mailing list