diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2020-04-04 21:23:50 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-04-05 12:07:47 +0800 |
commit | f0f35fdac19b4d3e40aa03928cbbac15a83837bf (patch) | |
tree | cdf856f90fd06d0d00aef856f306b92c801d79ef /target/linux/generic/pending-5.4/465-m25p80-mx-disable-software-protection.patch | |
parent | d24e43a7f622a8033f3703027fb19a617ae7aa02 (diff) | |
download | upstream-f0f35fdac19b4d3e40aa03928cbbac15a83837bf.tar.gz upstream-f0f35fdac19b4d3e40aa03928cbbac15a83837bf.tar.bz2 upstream-f0f35fdac19b4d3e40aa03928cbbac15a83837bf.zip |
Revert "generic: 5.4: Add 4B_OPCODES flag to w25q256"
This reverts commit d7f21940bcaf70ba404d354c7fa6519c1717d00a.
Winbond W25Q256FV and W25Q256JV both uses 0xef4019 as JEDEC ID,
but only the latter has proper 4B_OPCODES support.
W25Q256FV has all 4B read instructions but it lacks a 4B page program
instruction, causing the entire flash to be read-only.
Signed-off-by: Chuanhong Guo <gch981213@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.patch | 2 |
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 a71175f9e3..24d2d4567d 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 -@@ -4886,6 +4886,7 @@ int spi_nor_scan(struct spi_nor *nor, co +@@ -4884,6 +4884,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 || |