Re: (EXT) Re: [PATCH] mtd: spi-nor: micron-st: enable 4-byte opcodes for n25q512a

From: Matthias Schiffer
Date: Mon Jun 29 2020 - 14:44:52 EST


On Mon, 2020-06-29 at 13:02 +0000, Tudor.Ambarus@xxxxxxxxxxxxx wrote:
> Hi, Matthias,
>
> On 6/10/20 12:16 PM, Matthias Schiffer wrote:
> > EXTERNAL EMAIL: Do not click links or open attachments unless you
> > know the content is safe
> >
> > From: Michael Krummsdorf <michael.krummsdorf@xxxxxxxxxxxx>
> >
> > Set SPI_NOR_4B_OPCODES, as the flash supports 4-byte opcodes.
>
> I remember that we stripped SPI_NOR_4B_OPCODES intentionally for the
> n25q
> flashes, check https://lkml.org/lkml/2019/12/5/50.
>
> Cheers,
> ta

Ah, thank you for the pointer. Looking at a boot log of a more recent
kernel again, the SPI-NOR flash on our hardware is actually detected as
mt25qu512a and not n25q512a now, so everything should work as expected
without this patch.