diff options
author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-09-26 22:19:54 +0800 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@linaro.org> | 2024-10-02 10:28:40 +0300 |
commit | 46b6256a68b49d6400ceb43696a01a3203c11688 (patch) | |
tree | bb07eafe13e30bb9d0f89d57f8333f3aa5957415 /mm | |
parent | 6a42bc97ccda237a54c4ec27aed5fa9c51517d40 (diff) | |
download | lwn-46b6256a68b49d6400ceb43696a01a3203c11688.tar.gz lwn-46b6256a68b49d6400ceb43696a01a3203c11688.zip |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions