]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor-ids: Add Gigadevice gd25lq128 ID
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 12 Apr 2019 09:50:10 +0000 (11:50 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 12 Apr 2019 13:11:33 +0000 (18:41 +0530)
This adds support for the Gigadevice gd25lq128 ID needed on the
upcoming libretech-ac board.

SPI_NOR_QUAD_READ is not set since it has not been tested in Quad
mode.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/spi-nor-ids.c

index 96330015145a6492b3659fc285096b3d0b4b743c..ec929760eee4768522bed3f564128b4963c717ea 100644 (file)
@@ -106,6 +106,11 @@ 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("gd25lq128", 0xc86018, 0, 64 * 1024, 256,
+                       SECT_4K | SPI_NOR_DUAL_READ |
+                       SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+       },
 #endif
 #ifdef CONFIG_SPI_FLASH_ISSI           /* ISSI */
        /* ISSI */