aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2020-03-10 18:20:01 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-12 12:59:44 +0100
commitd7f21940bcaf70ba404d354c7fa6519c1717d00a (patch)
tree02c805e8610b3c1d04aabc36866945a3755ffa7c /target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch
parent3ef988caf383cd761af0fe7e943dfcc2dd766cf5 (diff)
downloadupstream-d7f21940bcaf70ba404d354c7fa6519c1717d00a.tar.gz
upstream-d7f21940bcaf70ba404d354c7fa6519c1717d00a.tar.bz2
upstream-d7f21940bcaf70ba404d354c7fa6519c1717d00a.zip
generic: 5.4: Add 4B_OPCODES flag to w25q256
This patch backports the upstream patch that adds the 4B_OPCODES flag to w25q256 under 5.4 kernel. This is needed for ipq40xx and ramips. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch')
-rw-r--r--target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch b/target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch
index 24d2d4567d..a71175f9e3 100644
--- a/target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch
+++ b/target/linux/generic/pending-5.4/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
-@@ -4884,6 +4884,7 @@ int spi_nor_scan(struct spi_nor *nor, co
+@@ -4886,6 +4886,7 @@ int spi_nor_scan(struct spi_nor *nor, co
*/
if (JEDEC_MFR(nor->info) == SNOR_MFR_ATMEL ||
JEDEC_MFR(nor->info) == SNOR_MFR_INTEL ||