summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch
diff options
context:
space:
mode:
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.patch4
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 dcf594b..e977e41 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);