diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-26 16:40:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-26 16:40:11 +0000 |
commit | b44a27885ff6e18f7a2ac03f4bfbb5dd23fee0d4 (patch) | |
tree | 813c960d6f0fd6a3f2eb90847974f00b55a22522 /target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch | |
parent | 963fc89df2cf074bcf03e3010c7d36d12b2f4d34 (diff) | |
download | upstream-b44a27885ff6e18f7a2ac03f4bfbb5dd23fee0d4.tar.gz upstream-b44a27885ff6e18f7a2ac03f4bfbb5dd23fee0d4.tar.bz2 upstream-b44a27885ff6e18f7a2ac03f4bfbb5dd23fee0d4.zip |
kernel: revert a faulty upstream commit that was added with the spi-nor/m25p80 backport (fixes #20971)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47664
Diffstat (limited to 'target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch')
-rw-r--r-- | target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch b/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch index dcf594bad1..e977e41a4b 100644 --- a/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch +++ b/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch @@ -9,6 +9,6 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org> if (JEDEC_MFR(info) == SNOR_MFR_ATMEL || JEDEC_MFR(info) == SNOR_MFR_INTEL || + JEDEC_MFR(info) == SNOR_MFR_MACRONIX || - JEDEC_MFR(info) == SNOR_MFR_SST || - JEDEC_MFR(info) == SNOR_MFR_WINBOND) { + JEDEC_MFR(info) == SNOR_MFR_SST) { write_enable(nor); + write_sr(nor, 0); |