[PATCH 1/2] mtd: fsl-quadspi: update hwcaps read capabilities as READ_1_4_4
Yogesh Gaur
yogeshnarayan.gaur at nxp.com
Thu Jan 4 03:12:13 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>
---
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 c22e3eb..178e621 100644
--- a/drivers/mtd/spi-nor/fsl-quadspi.c
+++ b/drivers/mtd/spi-nor/fsl-quadspi.c
@@ -959,6 +959,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