summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-10 18:15:39 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-11 13:09:33 +0100
commitb7bee2858b582164d55c32be44df3fcb42cafc78 (patch)
treed908808a56549ec42e1b269421fd1be2dbd57f45 /target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch
parentb1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80 (diff)
downloadmtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.zip
mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.gz
mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.bz2
kernel: remove linux 4.1 support
The only target still referencing it is omap24xx, and it is marked as broken. Signed-off-by: Felix Fietkau <nbd@nbd.name>
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.patch14
1 files changed, 0 insertions, 14 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
deleted file mode 100644
index 1d62b4f..0000000
--- a/target/linux/generic/patches-4.1/465-m25p80-mx-disable-software-protection.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Disable software protection bits for Macronix flashes.
-
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
-
---- a/drivers/mtd/spi-nor/spi-nor.c
-+++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -1200,6 +1200,7 @@ int spi_nor_scan(struct spi_nor *nor, co
-
- 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) {
- write_enable(nor);
- write_sr(nor, 0);