[PATCH v3 1/2] mtd: spinand: winbond: fix flash identification
Miquel Raynal
miquel.raynal at bootlin.com
Tue Oct 18 02:04:08 PDT 2022
On Mon, 2022-10-10 at 10:51:09 UTC, mikhail.kshevetskiy at iopsys.eu wrote:
> From: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
>
> Winbond uses 3 bytes to identify flash: vendor_id, dev_id_0, dev_id_1,
> but current driver uses only first 2 bytes of it for devices
> identification. As result Winbond W25N02KV flash (id_bytes: EF, AA, 22)
> is identified as W25N01GV (id_bytes: EF, AA, 21).
>
> Fix this by adding missed identification bytes.
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
> Reviewed-by: Frieder Schrempf <frieder.schrempf at kontron.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list