[PATCH] [RESEND] mtd: spi-nor: add support for ISSI is25lp128

Angelo Dureghello angelo at sysam.it
Thu Nov 16 11:07:24 PST 2017


Hi Boris,

On Thu, Nov 16, 2017 at 07:43:11PM +0100, Boris Brezillon wrote:
> Hello Angelo,
> 
> On Thu, 16 Nov 2017 14:56:01 +0100
> Angelo Dureghello <angelo at sysam.it> wrote:
> 
> Can you please add a commit message here?
> 

Sure, will send a v2 with a commit message in short.
To explain a bit, i am continuing Nikita Nazarenko job,
since i have here "stmark2" board with this chip, i
could test proper spi nor access and 4K and 64k erase,
as you can read here.

http://lists.infradead.org/pipermail/linux-mtd/2017-October/077225.html


> I'll let Cyrille comment on the patch itself.
> 
> Regards,
> 
> Boris

Regards,
Angelo
> 
> > Signed-off-by: Angelo Dureghello <angelo at sysam.it>
> > ---
> >  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 19c000722cbc..88cd10a0ee9e 100644
> > --- a/drivers/mtd/spi-nor/spi-nor.c
> > +++ b/drivers/mtd/spi-nor/spi-nor.c
> > @@ -1005,6 +1005,7 @@ static const struct flash_info spi_nor_ids[] = {
> >  
> >  	/* ISSI */
> >  	{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024,   2, SECT_4K) },
> > +	{ "is25lp128", INFO(0x9d6018, 0, 64 * 1024,   256, SECT_4K) },
> >  
> >  	/* Macronix */
> >  	{ "mx25l512e",   INFO(0xc22010, 0, 64 * 1024,   1, SECT_4K) },
> 



More information about the linux-mtd mailing list