generic: spi-nor: fix 4-byte opcode support for w25q256
authorMantas Pucka <mantas@8devices.com>
Thu, 16 Apr 2020 06:40:49 +0000 (09:40 +0300)
committerChuanhong Guo <gch981213@gmail.com>
Sat, 18 Apr 2020 03:37:06 +0000 (11:37 +0800)
commit4745969ad7c0cb65f55c8de1f05eba786ca27f71
tree54277c61c40b624b47807178ec2cb78dc6c29ba0
parent02fcbe2f3d4eaf65e90bb167aa7818eacc08c633
generic: spi-nor: fix 4-byte opcode support for w25q256

There are 2 different chips (w25q256fv and w25q256jv) that share
the same JEDEC ID. Only w25q256jv fully supports 4-byte opcodes.
Use SFDP header version to differentiate between them.

Fixes broken reboot on 8devices Habanero since f0f35fdac

Signed-off-by: Mantas Pucka <mantas@8devices.com>
target/linux/generic/pending-5.4/482-mtd-spi-nor-fix-4-byte-opcode-support-for-w25q256.patch [new file with mode: 0644]