]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: update read capabilities for w25q64 and s25fl064k
authorRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Fri, 29 May 2020 07:16:55 +0000 (12:46 +0530)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 27 Jul 2020 06:03:32 +0000 (09:03 +0300)
commitc252f8c595a8f79c6807ddf6b92f5869c442e0b9
tree51135871cb93d5d2f85aae03a281fba1d7591406
parent182f1ebd840eae5e3718ae2a01f903c41f282bb5
mtd: spi-nor: update read capabilities for w25q64 and s25fl064k

Both w25q64 and s25fl064k nor flash support QUAD and DUAL read
command, hence update the same in flash_info table.

This is tested on Broadcom Stingray SoC (bcm958742t).

s25fl064k and w25q64 share the same JEDEC ID. The search alg will
return the first hit, so s25fl064k even for the winbond parts. We
should differentiate between these flashes, but it's not in the
scope of this patch. Related discussion at:
Link: https://lore.kernel.org/patchwork/patch/628090/
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Link: https://lore.kernel.org/r/20200529071655.739-1-rayagonda.kokatanur@broadcom.com
[tudor.ambarus@microchip.com: Update commit message and indicate that
s25fl064k and w25q64 share the same JEDEC ID]
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spansion.c
drivers/mtd/spi-nor/winbond.c