* [PATCH][v2] mtd: m25p80: Add support for Micron N25Q512A memory
@ 2013-10-15 5:39 Priyanka Jain
2013-10-15 13:44 ` Marek Vasut
2013-10-15 17:07 ` Brian Norris
0 siblings, 2 replies; 3+ messages in thread
From: Priyanka Jain @ 2013-10-15 5:39 UTC (permalink / raw)
To: linux-mtd; +Cc: marex, artem.bityutskiy, computersforpeace, Priyanka Jain
Micron N25Q512A is a spi flash memory with following features:
-64MB size, 1.8V, Mulitple I/O, 4KB Sector erase memory.
-Memory is organised as 1024(64KB) main sectors.
-Each sector is divided into 256 pages.
-Register set/Opcodes are similar to other N25Q family products.
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
---
Changes for v2:
Corrected number of sectors to 1024 based on
inputs from Marek Vasut and Brian Norris
drivers/mtd/devices/m25p80.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 26b14f9..94e3b53 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -774,6 +774,7 @@ static const struct spi_device_id m25p_ids[] = {
{ "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, 0) },
{ "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
+ { "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
/* PMC */
{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH][v2] mtd: m25p80: Add support for Micron N25Q512A memory
2013-10-15 5:39 [PATCH][v2] mtd: m25p80: Add support for Micron N25Q512A memory Priyanka Jain
@ 2013-10-15 13:44 ` Marek Vasut
2013-10-15 17:07 ` Brian Norris
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2013-10-15 13:44 UTC (permalink / raw)
To: Priyanka Jain; +Cc: artem.bityutskiy, computersforpeace, linux-mtd
Dear Priyanka Jain,
> Micron N25Q512A is a spi flash memory with following features:
> -64MB size, 1.8V, Mulitple I/O, 4KB Sector erase memory.
> -Memory is organised as 1024(64KB) main sectors.
> -Each sector is divided into 256 pages.
> -Register set/Opcodes are similar to other N25Q family products.
>
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Feel free to add my
Acked-by: Marek Vasut <marex@denx.de>
Thanks!
> ---
> Changes for v2:
> Corrected number of sectors to 1024 based on
> inputs from Marek Vasut and Brian Norris
>
> drivers/mtd/devices/m25p80.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> index 26b14f9..94e3b53 100644
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -774,6 +774,7 @@ static const struct spi_device_id m25p_ids[] = {
> { "n25q128a11", INFO(0x20bb18, 0, 64 * 1024, 256, 0) },
> { "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
> { "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
> + { "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
>
> /* PMC */
> { "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH][v2] mtd: m25p80: Add support for Micron N25Q512A memory
2013-10-15 5:39 [PATCH][v2] mtd: m25p80: Add support for Micron N25Q512A memory Priyanka Jain
2013-10-15 13:44 ` Marek Vasut
@ 2013-10-15 17:07 ` Brian Norris
1 sibling, 0 replies; 3+ messages in thread
From: Brian Norris @ 2013-10-15 17:07 UTC (permalink / raw)
To: Priyanka Jain; +Cc: marex, artem.bityutskiy, linux-mtd
On Tue, Oct 15, 2013 at 11:09:05AM +0530, Priyanka Jain wrote:
> Micron N25Q512A is a spi flash memory with following features:
> -64MB size, 1.8V, Mulitple I/O, 4KB Sector erase memory.
> -Memory is organised as 1024(64KB) main sectors.
> -Each sector is divided into 256 pages.
> -Register set/Opcodes are similar to other N25Q family products.
>
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Applied to l2-mtd.git. Thanks!
Brian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-15 17:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-15 5:39 [PATCH][v2] mtd: m25p80: Add support for Micron N25Q512A memory Priyanka Jain
2013-10-15 13:44 ` Marek Vasut
2013-10-15 17:07 ` Brian Norris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).