]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: spi-nor: macronix: Add post_sfdp fixups for Quad Input Page Program
authorCheng Ming Lin <chengminglin@mxic.com.tw>
Tue, 11 Feb 2025 06:30:27 +0000 (14:30 +0800)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 7 Mar 2025 06:21:16 +0000 (08:21 +0200)
commit798aafeffb369c5eb36e406b18970ef27baa820d
treed62d38a5f0a354e54111a60da3dddb52730bb7fa
parent03e7bb864d9a9efca02743d4a9fab8f3d0b00407
mtd: spi-nor: macronix: Add post_sfdp fixups for Quad Input Page Program

Although certain Macronix NOR flash support the Quad Input Page Program
feature, the corresponding information in the 4-byte Address Instruction
Table of these flash is not properly filled. As a result, this feature
cannot be enabled as expected.

To address this issue, a post_sfdp fixups implementation is required to
correct the missing information.

Signed-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw>
Link: https://lore.kernel.org/r/20250211063028.382169-2-linchengming884@gmail.com
[ta: fix alignment to match open parenthesis]
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/macronix.c