[PATCH] mtd: spi-nor: Add support for Micron n25q032a

Aurelien Chanot chanot.a at gmail.com
Tue Oct 13 14:41:53 PDT 2015


On Mon, Oct 12, 2015 at 06:38:28PM -0700, Brian Norris wrote:
> On Wed, Oct 07, 2015 at 12:10:08PM -0700, Aurelien Chanot wrote:
> > The N25Q032A is identical to the N25Q032 except it has a different
> > supply voltage range. Therefore, it has a new JEDEC ID.
> > 
> > Signed-off-by: Aurelien Chanot <chanot.a at gmail.com>
> 
> Applied to l2-mtd.git
> 
> > ---
> >  drivers/mtd/spi-nor/spi-nor.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> > index f59aedf..9122a2e 100644
> > --- a/drivers/mtd/spi-nor/spi-nor.c
> > +++ b/drivers/mtd/spi-nor/spi-nor.c
> > @@ -585,6 +585,7 @@ static const struct flash_info spi_nor_ids[] = {
> >  
> >  	/* Micron */
> >  	{ "n25q032",	 INFO(0x20ba16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
> > +	{ "n25q032a",	 INFO(0x20bb16, 0, 64 * 1024,   64, SPI_NOR_QUAD_READ) },
> 
> I know the original entry doesn't specify this, but does this flash
> support 4K sectors and dual read? We should add the flags.

Yes it does support 4k erase subsectors and, quad and dual fast read.

We can create a new patch to update the flags.

> 
> Brian
> 
> >  	{ "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, SPI_NOR_QUAD_READ) },
> 



More information about the linux-mtd mailing list