[PATCH] mtd: spi-nor: macronix: Add support for mx66l2g45g
Michael Walle
michael at walle.cc
Thu Feb 22 06:06:18 PST 2024
Hi,
> I'm pretty sure, this flash will work without any modification by
> using the generic driver (and maybe using the vendor fixups). See
> also previous discussions [2]. Thus, I think the following should be
> enough:
> + { .id = SNOR_ID(0xc2, 0x20, 0x1c) }
>
> *But* there is already a patchset under review to add SNOR_ID(0xc2)
> to match any macronix flashes. Therefore, with the patch in [2]
> applied, this flash should work without any further entries.
It looks like that series it taking a while. If you want to speed
things up, add this to the macronix_nor_parts[], test whether it
works for your flash and submit a patch for it.
+ /* Need the manufacturer fixups. Keep this last */
+ { .id = SNOR_ID(0xc2) }
-michael
> [1] https://docs.kernel.org/driver-api/mtd/spi-nor.html
> [2] https://lore.kernel.org/linux-mtd/?q=mx66l2g45g
> [3] https://lore.kernel.org/r/8b80cf233ea0065adf9841408e59f6a2@kernel.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20240222/10834854/attachment.sig>
More information about the linux-mtd
mailing list