summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZiv Xu <ziv.xu@starfivetech.com>2024-01-19 10:22:55 +0300
committerZiv Xu <ziv.xu@starfivetech.com>2024-01-19 11:35:21 +0300
commitc5d9e34f45ab37d8aa4df633b5c01f7946bbcfe5 (patch)
tree561a779ef35ff1654628829f97ad18f892e0e4b1
parent9b2efce7988d0e202f00c1efd9c305ca63ccf85c (diff)
downloadlinux-c5d9e34f45ab37d8aa4df633b5c01f7946bbcfe5.tar.xz
drivers: mtd: gigadevice: add gd25lq256d 32M flash support
add gd25lq256d 32M flash support Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
-rw-r--r--drivers/mtd/spi-nor/gigadevice.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/gigadevice.c b/drivers/mtd/spi-nor/gigadevice.c
index d57ddaf1525b..4a593b72fbf8 100644
--- a/drivers/mtd/spi-nor/gigadevice.c
+++ b/drivers/mtd/spi-nor/gigadevice.c
@@ -62,6 +62,10 @@ static const struct flash_info gigadevice_nor_parts[] = {
FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
SPI_NOR_QUAD_READ) },
+ { "gd25lq256d", INFO(0xc86019, 0, 64 * 1024, 512)
+ FLAGS( SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_QUAD_PP)
+ NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
+ SPI_NOR_QUAD_READ) },
{ "gd25q256", INFO(0xc84019, 0, 64 * 1024, 512)
PARSE_SFDP
FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6)