[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200610091616.29555-1-matthias.schiffer@ew.tq-group.com>
Date: Wed, 10 Jun 2020 11:16:16 +0200
From: Matthias Schiffer <matthias.schiffer@...tq-group.com>
To: Tudor Ambarus <tudor.ambarus@...rochip.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
Michael Krummsdorf <michael.krummsdorf@...group.com>,
Matthias Schiffer <matthias.schiffer@...tq-group.com>
Subject: [PATCH] mtd: spi-nor: micron-st: enable 4-byte opcodes for n25q512a
From: Michael Krummsdorf <michael.krummsdorf@...group.com>
Set SPI_NOR_4B_OPCODES, as the flash supports 4-byte opcodes.
Signed-off-by: Michael Krummsdorf <michael.krummsdorf@...group.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@...tq-group.com>
---
drivers/mtd/spi-nor/micron-st.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi-nor/micron-st.c b/drivers/mtd/spi-nor/micron-st.c
index 3dca5b9af3b6..8edfde053f31 100644
--- a/drivers/mtd/spi-nor/micron-st.c
+++ b/drivers/mtd/spi-nor/micron-st.c
@@ -58,7 +58,8 @@ static const struct flash_info st_parts[] = {
{ "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024,
SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB |
- SPI_NOR_4BIT_BP | SPI_NOR_BP3_SR_BIT6) },
+ SPI_NOR_4BIT_BP | SPI_NOR_BP3_SR_BIT6 |
+ SPI_NOR_4B_OPCODES) },
{ "n25q00", INFO(0x20ba21, 0, 64 * 1024, 2048,
SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB |
--
2.17.1
Powered by blists - more mailing lists