[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220513094759.44185-1-alexander.sverdlin@nokia.com>
Date: Fri, 13 May 2022 11:47:59 +0200
From: Alexander A Sverdlin <alexander.sverdlin@...ia.com>
To: linux-mtd@...ts.infradead.org
Cc: Alexander Sverdlin <alexander.sverdlin@...ia.com>,
Tudor Ambarus <tudor.ambarus@...rochip.com>,
Pratyush Yadav <p.yadav@...com>,
Michael Walle <michael@...le.cc>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] mtd: spi-nor: Support Dual and Quad Read on Macronix mx25u25635f
From: Alexander Sverdlin <alexander.sverdlin@...ia.com>
According to datasheet both Dual and Quad Read is supported. The read test
shows x3.8 speed gain.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@...ia.com>
---
drivers/mtd/spi-nor/macronix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c
index d81a4cb..cad9112 100644
--- a/drivers/mtd/spi-nor/macronix.c
+++ b/drivers/mtd/spi-nor/macronix.c
@@ -77,7 +77,7 @@ static const struct flash_info macronix_nor_parts[] = {
NO_SFDP_FLAGS(SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
.fixups = &mx25l25635_fixups },
{ "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512)
- NO_SFDP_FLAGS(SECT_4K)
+ NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
FIXUP_FLAGS(SPI_NOR_4B_OPCODES) },
{ "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024)
NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ)
--
2.10.2
Powered by blists - more mailing lists