From: Neil Armstrong Date: Fri, 12 Apr 2019 09:50:10 +0000 (+0200) Subject: mtd: spi-nor-ids: Add Gigadevice gd25lq128 ID X-Git-Tag: v2019.07-rc1~24^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=30b9a28a3f2dc599dc9c6d6d6c015fb89bed95bf;p=oweals%2Fu-boot.git mtd: spi-nor-ids: Add Gigadevice gd25lq128 ID 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 Reviewed-by: Jagan Teki --- diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index 9633001514..ec929760ee 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -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 */