[PATCH v3 1/5] mtd: spi-nor: add Octal DTR support for Macronix flash

Michael Walle mwalle at kernel.org
Sun Aug 6 23:44:24 PDT 2023


Hi,

> +	/* Macronix SPI-NOR flash 8D-8D-8D read ID would get 6 bytes data 
> A-A-B-B-C-C */
> +	for (i = 0; i < nor->info->id_len; i++)
> +		if (buf[i * 2] != nor->info->id[i])
> +			return -EINVAL;

Still wrong. See comments on previous version.

-michael



More information about the linux-mtd mailing list