[PATCH] mtd: spi-nor-ids: Extend w25q16cl entry with locking support
Marek Vasut
marex at denx.de
Fri Sep 6 23:10:42 CEST 2024
The w25q16cl does support locking the same way w25q16dw does,
fill in the missing flags.
Signed-off-by: Marek Vasut <marex at denx.de>
---
Cc: Andre Przywara <andre.przywara at arm.com>
Cc: Ashok Reddy Soma <ashok.reddy.soma at amd.com>
Cc: Dhruva Gole <d-gole at ti.com>
Cc: Jagan Teki <jagan at amarulasolutions.com>
Cc: Jim Liu <jim.t90615 at gmail.com>
Cc: Jonas Karlman <jonas at kwiboo.se>
Cc: Michal Simek <michal.simek at amd.com>
Cc: Neal Frager <neal.frager at amd.com>
Cc: Prasad Kummari <prasad.kummari at amd.com>
Cc: Teik Heng Chong <teik.heng.chong at intel.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: Vignesh R <vigneshr at ti.com>
Cc: u-boot at lists.denx.de
---
drivers/mtd/spi/spi-nor-ids.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 5582a978ab5..30cff8afdbd 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -536,7 +536,11 @@ const struct flash_info spi_nor_ids[] = {
},
{ INFO("w25q80", 0xef5014, 0, 64 * 1024, 16, SECT_4K) },
{ INFO("w25q80bl", 0xef4014, 0, 64 * 1024, 16, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
- { INFO("w25q16cl", 0xef4015, 0, 64 * 1024, 32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+ {
+ INFO("w25q16cl", 0xef4015, 0, 64 * 1024, 32,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+ },
{ INFO("w25q32bv", 0xef4016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ INFO("w25q64cv", 0xef4017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ INFO("w25q128", 0xef4018, 0, 64 * 1024, 256,
--
2.45.2
More information about the U-Boot
mailing list