mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
196f3d586f
5.4.102 backported a lot of stuff that our WireGuard backport already did, in addition to other patches we had, so those patches were removed from that part of the series. In the process other patches were refreshed or reworked to account for upstream changes. This commit involved `update_kernel.sh -v -u 5.4`. Cc: John Audia <graysky@archlinux.us> Cc: David Bauer <mail@david-bauer.net> Cc: Petr Štetiar <ynezz@true.cz> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
25 lines
820 B
Diff
25 lines
820 B
Diff
From d68b4aa22e8c625685bfad642dd7337948dc0ad1 Mon Sep 17 00:00:00 2001
|
|
From: Koen Vandeputte <koen.vandeputte@ncentric.com>
|
|
Date: Mon, 6 Jan 2020 13:07:56 +0100
|
|
Subject: [PATCH] mtd: spi-nor: add support for Gigadevice GD25D05
|
|
|
|
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
|
|
---
|
|
drivers/mtd/spi-nor/spi-nor.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/drivers/mtd/spi-nor/spi-nor.c
|
|
+++ b/drivers/mtd/spi-nor/spi-nor.c
|
|
@@ -2232,6 +2232,11 @@ static const struct flash_info spi_nor_i
|
|
|
|
/* GigaDevice */
|
|
{
|
|
+ "gd25d05", INFO(0xc84010, 0, 64 * 1024, 1,
|
|
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
|
|
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
|
|
+ },
|
|
+ {
|
|
"gd25q16", INFO(0xc84015, 0, 64 * 1024, 32,
|
|
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
|
|
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
|