[v1,2/2] mtd: fsl-quadspi: update hwcaps read capabilities as READ_1_4_4

Message ID 1515493602-19626-3-git-send-email-yogeshnarayan.gaur@nxp.com
State Superseded
Delegated to: Cyrille Pitchen
Headers show
  • mtd: fsl-quadspi: add support to create dynamic LUT entry
Related show

Commit Message

Yogesh Narayan Gaur Jan. 9, 2018, 10:26 a.m.
Update Read capabilities as SNOR_HWCAPS_READ_1_4_4 i.e. Quad I/O cmd
protocol. Spansion flash, s25fl512s, supports Quad read with read
capabilities as 1-4-4.

Patch added support for SNOR_HWCAPS_READ_1_4_4 protocol.

Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>

V1: Swap patch sequences in the series to solve git bissect issue.
 drivers/mtd/spi-nor/fsl-quadspi.c | 1 +
 1 file changed, 1 insertion(+)


diff --git a/drivers/mtd/spi-nor/fsl-quadspi.c b/drivers/mtd/spi-nor/fsl-quadspi.c
index bb3e087..19d8f03 100644
--- a/drivers/mtd/spi-nor/fsl-quadspi.c
+++ b/drivers/mtd/spi-nor/fsl-quadspi.c
@@ -980,6 +980,7 @@  static int fsl_qspi_probe(struct platform_device *pdev)
 	const struct spi_nor_hwcaps hwcaps = {
 		.mask = SNOR_HWCAPS_READ_1_1_4 |
+			SNOR_HWCAPS_READ_1_4_4 |
 	struct device_node *np = pdev->dev.of_node;