summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/intel-spi-pci.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-12-06 13:37:36 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-12-10 23:59:08 +0300
commit2bffa65da43e399079dad5947c6aa9ab3cfa4ad4 (patch)
tree8c2a59832537c5635bd7bdbb657fb46f79509e83 /drivers/mtd/spi-nor/intel-spi-pci.c
parent2aaa5f7e0c07a0f14e514ed3b343d66a31dfb300 (diff)
downloadlinux-2bffa65da43e399079dad5947c6aa9ab3cfa4ad4.tar.xz
mtd: spi-nor: Add a post BFPT fixup for MX25L25635E
MX25L25635F and MX25L25635E share the same JEDEC-ID, but the F variant supports 4-byte opcodes while the E variant doesn't. We need a way to differentiate those 2 chips and set the SNOR_F_4B_OPCODES flag only for the F variant. Luckily, 4-byte opcode support is not the only difference: Fast Read 4-4-4 is only supported by the F variant, and this feature is advertised in the BFPT table. Use this to decide when to set the SNOR_F_4B_OPCODES flag. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/mtd/spi-nor/intel-spi-pci.c')
0 files changed, 0 insertions, 0 deletions