Re: [PATCH] mtd: rawnand: Skip timing mode readback check for GigaDevice NAND
From: Miquel Raynal
Date: Fri Nov 27 2026 - 07:53:05 EST
Hi Teng,
> I agree that vendor-specific workarounds do not belong in nand_base.c.
> Adding a dedicated nand_gigadevice.c would be a substantial piece of
> work and is outside the scope of this effort.I understand if this patch
> is rejected, and I will drop it for now.
>
> That said, if there is a significant future need to add nand_gigadevice.c,
> we will refer back to the changes in this patch.
You need a nand_manufacturer_ops (4 lines) and implement the above fix
in the init hook after copy-pasting the pattern from another vendor
driver. Then add that file to the Makefile and refer to it in the core's
includes. Honestly not what I would call a "substantial piece of work" :)
Thanks,
Miquèl