Re: [PATCH] mtd: spi-nor: Add 4B_OPCODES flag to n25q256a

From: Daniel Walker (danielwa)
Date: Mon Apr 20 2020 - 12:34:10 EST


On Mon, Apr 20, 2020 at 03:45:59PM +0000, Tudor.Ambarus@xxxxxxxxxxxxx wrote:
> Hi, Daniel,
>
> On Friday, April 17, 2020 8:46:19 PM EEST Daniel Walker wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> > content is safe
> >
> > The n25q256a supports 4-byte opcodes so lets add the flag.
>
> This is not true for all the n25q256a flashes. SPINOR_OP_PP_4B,
> SPINOR_OP_BE_4K_4B and SPINOR_OP_SE_4B are valid just for the part numbers
> N25Q256A83ESF40x, N25Q256A83E1240x, and N25Q256A83ESFA0F.
>
> You need to differentiate between the aforementioned flashes and the rest in
> the n25q256a, in order to add the 4-byte opcodes flag.

How do you suggest I do that ? Can I add a new entry into this table with more
specific information about the chips ?

Daniel