[PATCH] mtd: spinand: winbond: add support for W25N04LV

Miquel Raynal miquel.raynal at bootlin.com
Tue Aug 25 02:09:03 PDT 2026


>>> +static const struct mtd_ooblayout_ops w25n04lv_ooblayout = {
>>> +	.ecc = w25n04lv_ooblayout_ecc,
>>> +	.free = w25n04lv_ooblayout_free,
>> 
>> FWIW, these two are the same as what I consolidated in
>> https://lore.kernel.org/r/20260814-w25n04lw-v3-1-c6a7423ac7d0@atmark-techno.com
>> using oobsize, so we probably want to reuse that here too
>
> Thanks for the pointer, and good to see Miquel is fine with reusing
> w25n02kv_ooblayout. Once your patch lands, I'll rebase on top of it
> and switch from w25n04lv_ooblayout to w25n02kv_ooblayout — is that in
> line with what you'd expect?

I guess so, thanks!

Miquèl



More information about the linux-mtd mailing list