From 6f525d8d5879191b0dbc311981d555fdcda0ca8e Mon Sep 17 00:00:00 2001 From: Malloy Liu Date: Mon, 5 Jun 2023 15:43:30 +0800 Subject: [PATCH] Add support for GD25Q128E, a 16MiB SPI Nor flash from GigaDevice add new spi-nor flash support Reviewed-by: Hongbo Mao (cherry picked from commit 6ab4f737d9268e2371e00e69d9e02720d8d84fe3) Signed-off-by: Alex Shi --- drivers/mtd/spi-nor/spi-nor.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 71f0352c19cd..0f4d3045f9e3 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -2233,6 +2233,11 @@ static 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) }, + { + "gd25q128e", INFO(0xc86018, 0, 64 * 1024, 256, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) + }, { "gd25q256", INFO(0xc84019, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |