aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2020-03-10 18:17:02 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-12 12:59:44 +0100
commit3ef988caf383cd761af0fe7e943dfcc2dd766cf5 (patch)
treecf5c368dcca34aa38ba3bd8f43adf8910c3b1e9d /target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch
parentf39230e4636c1003cf8cb2d739cd95a4344609b4 (diff)
downloadupstream-3ef988caf383cd761af0fe7e943dfcc2dd766cf5.tar.gz
upstream-3ef988caf383cd761af0fe7e943dfcc2dd766cf5.tar.bz2
upstream-3ef988caf383cd761af0fe7e943dfcc2dd766cf5.zip
generic: 4.19: Add 4B_OPCODES flag to w25q256
This patch backports the upstream patch that adds the 4B_OPCODES flag to w25q256 under 4.19 kernel. This is needed for ipq40xx and ramips. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch')
-rw-r--r--target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch b/target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch
index 0c5d6cfa63..3172c223f2 100644
--- a/target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch
+++ b/target/linux/generic/pending-4.19/465-m25p80-mx-disable-software-protection.patch
@@ -8,7 +8,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -2735,6 +2735,7 @@ static int spi_nor_init(struct spi_nor *
+@@ -2737,6 +2737,7 @@ static int spi_nor_init(struct spi_nor *
*/
if (JEDEC_MFR(nor->info) == SNOR_MFR_ATMEL ||
JEDEC_MFR(nor->info) == SNOR_MFR_INTEL ||