* [PATCH] mtd: spi-nor: set SECT_4K for n25q064 SPI flash
@ 2015-06-30 9:53 Alexey Firago
2015-07-20 17:43 ` Brian Norris
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Firago @ 2015-06-30 9:53 UTC (permalink / raw)
To: linux-mtd; +Cc: Alexey Firago
Micron n25q064 flash supports 4 KiB erase sectors.
Signed-off-by: Alexey Firago <alexey_firago@mentor.com>
---
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 d78831b..b2e8c3b 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -589,7 +589,7 @@ static const struct spi_device_id spi_nor_ids[] = {
/* Micron */
{ "n25q032", INFO(0x20ba16, 0, 64 * 1024, 64, SPI_NOR_QUAD_READ) },
- { "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, SPI_NOR_QUAD_READ) },
+ { "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_QUAD_READ) },
{ "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, SPI_NOR_QUAD_READ) },
{ "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, SPI_NOR_QUAD_READ) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_QUAD_READ) },
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: spi-nor: set SECT_4K for n25q064 SPI flash
2015-06-30 9:53 [PATCH] mtd: spi-nor: set SECT_4K for n25q064 SPI flash Alexey Firago
@ 2015-07-20 17:43 ` Brian Norris
0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2015-07-20 17:43 UTC (permalink / raw)
To: Alexey Firago; +Cc: linux-mtd
On Tue, Jun 30, 2015 at 12:53:46PM +0300, Alexey Firago wrote:
> Micron n25q064 flash supports 4 KiB erase sectors.
>
> Signed-off-by: Alexey Firago <alexey_firago@mentor.com>
Pushed to l2-mtd.git. Thanks!
Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-20 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-30 9:53 [PATCH] mtd: spi-nor: set SECT_4K for n25q064 SPI flash Alexey Firago
2015-07-20 17:43 ` Brian Norris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.