Unverified Commit af2792ab authored by JaimeLiao's avatar JaimeLiao Committed by Tudor Ambarus
Browse files

mtd: spi-nor: sfdp: get the 1-1-8 and 1-8-8 protocol from SFDP



BFPT 17th DWORD contains the information about 1-1-8 and 1-8-8.
Parse BFPT DWORD[17] instruction to determine whether flash
supports 1-1-8 and 1-8-8, and set its dummy cycles accordingly.

Validated only the 1-1-8 read using a macronix flash with
Xilinx board zynq-picozed.

Signed-off-by: default avatarJaimeLiao <jaimeliao@mxic.com.tw>
Reviewed-by: default avatarMichael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/20231219102103.92738-2-jaimeliao.tw@gmail.com


[ta: update commit message, get rid of extra dereference]
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
parent fe18e22f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment