[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180926220739.620-8-lukma@denx.de>
Date: Thu, 27 Sep 2018 00:07:37 +0200
From: Lukasz Majewski <lukma@...x.de>
To: Frieder Schrempf <frieder.schrempf@...eet.de>,
boris.brezillon@...tlin.com, Mark Rutland <mark.rutland@....com>
Cc: linux-mtd@...ts.infradead.org, linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org, yogeshnarayan.gaur@....com,
richard@....at, Stefan Agner <stefan@...er.ch>,
Fabio Estevam <festevam@...il.com>,
Fabio Estevam <fabio.estevam@....com>,
prabhakar.kushwaha@....com, han.xu@....com, broonie@...nel.org,
david.wolfe@....com, computersforpeace@...il.com,
dwmw2@...radead.org, albert.aribaud@...ev.fr,
Lukasz Majewski <lukma@...x.de>
Subject: [RFC/RFT PATCH v1 7/9] mtd: spi: Add SPI_NOR_DUAL_READ property for the 'n25q128a13' Micron memory
This memory supports not only QUAD reads, but DUAL as well.
Those are needed when two identical memories are used, but one is not
using four lines for read I/O.
Signed-off-by: Lukasz Majewski <lukma@...x.de>
---
drivers/mtd/spi-nor/spi-nor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index f028277fb1ce..442102be174e 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1103,7 +1103,7 @@ static const struct flash_info spi_nor_ids[] = {
{ "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) },
{ "n25q064a", INFO(0x20bb17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) },
{ "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ) },
- { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ) },
+ { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "n25q256ax1", INFO(0x20bb19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ) },
{ "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) },
--
2.11.0
Powered by blists - more mailing lists