linux-stable/drivers/mtd/spi-nor
Tudor Ambarus 46b6256a68
mtd: spi-nor: sfdp: Get the 8D-8D-8D byte order from BFPT
Parse BFPT in order to retrieve the byte order in 8D-8D-8D mode.

This info flag will be used as a basis to determine whether
there is byte swapping of data for SPI NOR flash in octal
DTR mode.

The controller driver will check whether byte swapping is supported
to determine whether the corresponding operation are supported,
thus avoiding the generation of unexpected data order.

Merge Tudor's patch and add modifications for suiting newer version
of Linux kernel.

Reviewed-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: JaimeLiao <jaimeliao@mxic.com.tw>
Signed-off-by: AlvinZhou <alvinzhou@mxic.com.tw>
Link: https://lore.kernel.org/r/20240926141956.2386374-5-alvinzhou.tw@gmail.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
2024-10-02 10:28:40 +03: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: core: Allow specifying the byte order in Octal DTR mode 2024-10-02 10:23:56 +03:00
core.h mtd: spi-nor: core: Allow specifying the byte order in Octal DTR mode 2024-10-02 10:23:56 +03: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: add Octal DTR support for Macronix flash 2024-10-02 10:22:49 +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 n25q064a WP support 2024-09-14 17:56:31 +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: sfdp: Get the 8D-8D-8D byte order from BFPT 2024-10-02 10:28:40 +03:00
sfdp.h mtd: spi-nor: sfdp: Get the 8D-8D-8D byte order from BFPT 2024-10-02 10:28:40 +03:00
spansion.c mtd: spi-nor: spansion: Add support for S28HS256T 2024-09-14 17:56:31 +02:00
sst.c mtd: spi-nor: sst: Factor out common write operation to sst_nor_write_data() 2024-09-14 17:56:31 +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: add Zetta ZD25Q128C support 2024-09-14 17:56:31 +02:00
xmc.c mtd: spi-nor: xmc: convert flash_info to new format 2023-09-19 18:59:20 +03:00