kernel: bump 6.1 to 6.1.63
[openwrt/openwrt.git] / target / linux / generic / pending-6.1 / 482-mtd-spi-nor-add-gd25q512.patch
1 From f8943df3beb0d3f9754bb35320c3a378727175a8 Mon Sep 17 00:00:00 2001
2 From: OpenWrt community <openwrt-devel@lists.openwrt.org>
3 Date: Thu, 14 Jul 2022 08:38:07 +0200
4 Subject: [PATCH] spi-nor/gigadevic: add gd25q512
5
6 ---
7 drivers/mtd/spi-nor/gigadevice.c | 3 +++
8 1 file changed, 3 insertions(+)
9
10 --- a/drivers/mtd/spi-nor/gigadevice.c
11 +++ b/drivers/mtd/spi-nor/gigadevice.c
12 @@ -71,6 +71,11 @@ static const struct flash_info gigadevic
13 FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6)
14 FIXUP_FLAGS(SPI_NOR_4B_OPCODES)
15 .fixups = &gd25q256_fixups },
16 + { "gd25q512", INFO(0xc84020, 0, 64 * 1024, 1024)
17 + FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
18 + FIXUP_FLAGS(SPI_NOR_4B_OPCODES)
19 + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
20 + SPI_NOR_QUAD_READ) },
21 };
22
23 const struct spi_nor_manufacturer spi_nor_gigadevice = {