summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi-nor/spansion.c
diff options
context:
space:
mode:
authorAlvinZhou <alvinzhou@mxic.com.tw>2024-09-26 22:19:56 +0800
committerTudor Ambarus <tudor.ambarus@linaro.org>2024-10-04 10:40:48 +0300
commitafe1ea1344bbd3a40be5a2547ff1b13899c5a7fa (patch)
tree6a15c3de8d9896fe4f044c9d4b3f39b874d9d123 /drivers/mtd/spi-nor/spansion.c
parent46b6256a68b49d6400ceb43696a01a3203c11688 (diff)
mtd: spi-nor: add support for Macronix Octal flash
Add manufacturer ID 0xc2 at the end of ID table to allow manufacturer fixups to be applied for any Macronix flash. This spares us of adding new flash entries for flashes that can be initialized solely based on the SFDP data, but still need the manufacturer hooks to set parameters that can't be discovered at SFDP parsing time. The ID is added in order to set the octal DTR methods. SFDP defines a "Command Sequences to Change to Octal DDR (8D-8D-8D) Mode" which can enable the octal DTR mode. Until that is parsed and used, use the local defined method. Suggested-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-7-alvinzhou.tw@gmail.com [ta: update commit message and comment in the code] Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Diffstat (limited to 'drivers/mtd/spi-nor/spansion.c')
0 files changed, 0 insertions, 0 deletions