[PATCH] mtd: rawnand: Skip timing mode readback check for GigaDevice NAND

Miquel Raynal miquel.raynal at bootlin.com
Tue Nov 24 05:40:24 PST 2026


Hi,

>  	if (request != tmode_param[0]) {
> +		/*
> +		* GigaDevice raw NAND chips (manufacturer ID 0xC8) support
> +		* the timing modes advertised in their ONFI parameter page.
> +		* Skip the strict ack check; keep it for other vendors.
> +		*/
> +		if (chip->id.data[0] == 0xC8) {
> +			goto update_interface_config;
> +		}
> +

There is a vendor driver, you shall use it rather than polluting the
core with vendor specific fixups. Check what
macronix_nand_fix_broken_get_timings() does for example.

Thanks,
Miquèl



More information about the linux-mtd mailing list