]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor: add flash model w25q01/02 support
authorJim Liu <jim.t90615@gmail.com>
Tue, 26 Sep 2023 09:10:24 +0000 (17:10 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Sat, 9 Dec 2023 11:14:24 +0000 (16:44 +0530)
add flash w25q01jv, w25q01jvfim and w25q02jv support

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-ids.c

index f1d282e6bda4bf7571a895072442d4411d9be8d1..7614b94cc57be72a7d7729375d6e5660004378f1 100644 (file)
@@ -524,6 +524,16 @@ const struct flash_info spi_nor_ids[] = {
                        SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
                        SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
        },
+       {
+               INFO("w25q01jvfim", 0xef7021, 0, 64 * 1024, 2048,
+                       SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+                       SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+       },
+       {
+               INFO("w25q02jv", 0xef7022, 0, 64 * 1024, 4096,
+                       SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+                       SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+       },
        { 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) },