mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
2ed7f6cbb0
This patches does not have a valid patch headers and does not apply on an external git tree with 'git am'. To fix this add the missing headers. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
26 lines
935 B
Diff
26 lines
935 B
Diff
From f8943df3beb0d3f9754bb35320c3a378727175a8 Mon Sep 17 00:00:00 2001
|
|
From: OpenWrt community <openwrt-devel@lists.openwrt.org>
|
|
Date: Thu, 14 Jul 2022 08:38:07 +0200
|
|
Subject: [PATCH] spi-nor/gigadevic: add gd25q512
|
|
|
|
---
|
|
drivers/mtd/spi-nor/gigadevice.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/drivers/mtd/spi-nor/gigadevice.c b/drivers/mtd/spi-nor/gigadevice.c
|
|
index e52ed19d864f..d25292ec1eb9 100644
|
|
--- a/drivers/mtd/spi-nor/gigadevice.c
|
|
+++ b/drivers/mtd/spi-nor/gigadevice.c
|
|
@@ -53,6 +53,9 @@ static const struct flash_info gigadevice_parts[] = {
|
|
SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK |
|
|
SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6)
|
|
.fixups = &gd25q256_fixups },
|
|
+ { "gd25q512", INFO(0xc84020, 0, 64 * 1024, 1024,
|
|
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
|
|
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_4B_OPCODES) },
|
|
};
|
|
|
|
const struct spi_nor_manufacturer spi_nor_gigadevice = {
|
|
--
|
|
|