2024-02-05 14:28:29

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH 1/2] mtd: spinand: Add support for 5-byte IDs

On Thu, 2024-01-25 at 20:01:07 UTC, Ezra Buehler wrote:
> From: Ezra Buehler <[email protected]>
>
> E.g. ESMT chips will return an identification code with a length of 5
> bytes. In order to prevent ambiguity, flash chips would actually need to
> return IDs that are up to 17 or more bytes long due to JEDEC's
> continuation scheme. I understand that if a manufacturer ID is located
> in bank N of JEDEC's database (there are currently 16 banks), N - 1
> continuation codes (7Fh) need to be added to the identification code
> (comprising of manufacturer ID and device ID). However, most flash chip
> manufacturers don't seem to implement this (correctly).
>
> Signed-off-by: Ezra Buehler <[email protected]>
> Reviewed-by: Martin Kurbanov <[email protected]>
> Tested-by: Martin Kurbanov <[email protected]>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel