public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Brian Norris <computersforpeace@gmail.com>
To: Priyanka Jain <Priyanka.Jain@freescale.com>
Cc: artem.bityutskiy@linux.intel.com, linux-mtd@lists.infradead.org
Subject: Re: [PATCH] mtd: m25p80: Add support for Micron N25Q512A memory
Date: Wed, 2 Oct 2013 11:51:23 -0700	[thread overview]
Message-ID: <20131002185123.GT23337@ld-irv-0074.broadcom.com> (raw)
In-Reply-To: <1378270016-9280-1-git-send-email-Priyanka.Jain@freescale.com>

+ Marek

On Wed, Sep 04, 2013 at 10:16:56AM +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>
> ---
>  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, 512, SECT_4K) },

This device actually has the same ID as Micron's next line (MT25QL512A).
They have the same geometry, so maybe that's not a problem.

(FWIW, I haven't gotten either flash working here, but I'm suspecting
board problems.)

>  
>  	/* PMC */
>  	{ "pm25lv512", INFO(0, 0, 32 * 1024, 2, SECT_4K_PMC) },

I'll give Marek a chance to look at this, then I'll take this into
l2-mtd.git if there are no objections.

Brian

  reply	other threads:[~2013-10-02 18:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04  4:46 [PATCH] mtd: m25p80: Add support for Micron N25Q512A memory Priyanka Jain
2013-10-02 18:51 ` Brian Norris [this message]
2013-10-02 18:55   ` Brian Norris
2013-10-02 20:02     ` Marek Vasut
2013-10-02 20:11       ` Brian Norris
2013-10-02 20:55         ` Marek Vasut
2013-10-02 21:01           ` Brian Norris
2013-10-15  4:32             ` Jain Priyanka-B32167

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131002185123.GT23337@ld-irv-0074.broadcom.com \
    --to=computersforpeace@gmail.com \
    --cc=Priyanka.Jain@freescale.com \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox