mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
27 lines
976 B
Diff
27 lines
976 B
Diff
|
From b61cefc6c785aa8a7177a0b535db746fd0047bd8 Mon Sep 17 00:00:00 2001
|
||
|
From: Ziv Xu <ziv.xu@starfivetech.com>
|
||
|
Date: Fri, 19 Jan 2024 15:22:55 +0800
|
||
|
Subject: [PATCH 063/116] drivers: mtd: gigadevice: add gd25lq256d 32M flash
|
||
|
support
|
||
|
|
||
|
add gd25lq256d 32M flash support
|
||
|
|
||
|
Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
|
||
|
---
|
||
|
drivers/mtd/spi-nor/gigadevice.c | 4 ++++
|
||
|
1 file changed, 4 insertions(+)
|
||
|
|
||
|
--- a/drivers/mtd/spi-nor/gigadevice.c
|
||
|
+++ b/drivers/mtd/spi-nor/gigadevice.c
|
||
|
@@ -66,6 +66,10 @@ static const struct flash_info gigadevic
|
||
|
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)
|