[PATCH v2 2/2] mtd: fsl-quadspi: update hwcaps read capabilities as READ_1_4_4
Yogesh Gaur
yogeshnarayan.gaur at nxp.com
Mon Jan 15 02:14:48 PST 2018
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 at 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 48d0639..bc72678 100644
--- a/drivers/mtd/spi-nor/fsl-quadspi.c
+++ b/drivers/mtd/spi-nor/fsl-quadspi.c
@@ -967,6 +967,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 |
SNOR_HWCAPS_PP,
};
struct device_node *np = pdev->dev.of_node;
--
1.9.1
More information about the linux-mtd
mailing list