linux/drivers/mtd/spi-nor
Michael Walle d35df77707 mtd: spi-nor: winbond: fix w25q128 regression
Commit 83e824a4a5 ("mtd: spi-nor: Correct flags for Winbond w25q128")
removed the flags for non-SFDP devices. It was assumed that it wasn't in
use anymore. This wasn't true. Add the no_sfdp_flags as well as the size
again.

We add the additional flags for dual and quad read because they have
been reported to work properly by Hartmut using both older and newer
versions of this flash, the similar flashes with 64Mbit and 256Mbit
already have these flags and because it will (luckily) trigger our
legacy SFDP parsing, so newer versions with SFDP support will still get
the parameters from the SFDP tables.

Reported-by: Hartmut Birr <e9hack@gmail.com>
Closes: https://lore.kernel.org/r/CALxbwRo_-9CaJmt7r7ELgu+vOcgk=xZcGHobnKf=oT2=u4d4aA@mail.gmail.com/
Fixes: 83e824a4a5 ("mtd: spi-nor: Correct flags for Winbond w25q128")
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Michael Walle <mwalle@kernel.org>
Acked-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Esben Haabendal <esben@geanix.com>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20240621120929.2670185-1-mwalle@kernel.org
2024-06-21 17:49:36 +02:00
..
controllers mtd: spi-nor: nxp-spifi: Convert to platform remove callback returning void 2023-10-16 10:56:48 +02:00
atmel.c mtd: spi-nor: use kernel sized types instead of c99 types 2023-11-15 08:07:04 +02:00
core.c mtd: spi-nor: simplify spi_nor_get_flash_info() 2024-06-18 11:42:19 +02:00
core.h mtd: spi-nor: get rid of SPI_NOR_NO_FR 2024-05-27 17:07:15 +02:00
debugfs.c mtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flag 2024-02-26 13:28:15 +02:00
eon.c mtd: spi-nor: eon: sort flash_info database 2023-09-19 18:59:21 +03:00
esmt.c mtd: spi-nor: esmt: convert flash_info to new format 2023-09-19 18:57:50 +03:00
everspin.c mtd: spi-nor: get rid of SPI_NOR_NO_FR 2024-05-27 17:07:15 +02:00
gigadevice.c mtd: spi-nor: gigadevice: sort flash_info database 2023-09-19 18:59:21 +03:00
intel.c mtd: spi-nor: intel: convert flash_info to new format 2023-09-19 18:59:19 +03:00
issi.c mtd: spi-nor: issi: sort flash_info database 2023-09-19 18:59:21 +03:00
Kconfig mtd: spi-nor: keep lock bits if they are non-volatile 2020-12-07 23:01:15 +05:30
macronix.c mtd: spi-nor: macronix: sort flash_info database 2023-09-19 18:59:21 +03:00
Makefile mtd: spi-nor: Remove support for Xilinx S3AN flashes 2024-05-27 16:39:21 +02:00
micron-st.c mtd: spi-nor: micron-st: Add support for mt25qu01g 2023-12-06 11:25:17 +02:00
otp.c mtd: spi-nor: Reorder the preparation vs. locking steps 2023-03-29 13:46:07 +03:00
sfdp.c mtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flag 2024-02-26 13:28:15 +02:00
sfdp.h mtd: spi-nor: sfdp: get the 1-1-8 and 1-8-8 protocol from SFDP 2023-12-20 10:44:00 +02:00
spansion.c mtd: spi-nor: spansion: enable die erase for multi die flashes 2023-12-06 11:25:07 +02:00
sst.c mtd: spi-nor: use kernel sized types instead of c99 types 2023-11-15 08:07:04 +02:00
swp.c mtd: spi-nor: use kernel sized types instead of c99 types 2023-11-15 08:07:04 +02:00
sysfs.c mtd: spi-nor: sysfs: hide the flash name if not set 2023-12-19 05:08:23 +02:00
winbond.c mtd: spi-nor: winbond: fix w25q128 regression 2024-06-21 17:49:36 +02:00
xmc.c mtd: spi-nor: xmc: convert flash_info to new format 2023-09-19 18:59:20 +03:00