2024-02-05 14:28:17

by Miquel Raynal

[permalink] [raw]
Subject: Re: [PATCH 2/2] mtd: spinand: esmt: Extend IDs to 5 bytes

On Thu, 2024-01-25 at 20:01:08 UTC, Ezra Buehler wrote:
> From: Ezra Buehler <[email protected]>
>
> According to the datasheets, the ESMT chips in question will return a 5
> byte long identification code where the last 3 bytes are the JEDEC
> continuation codes (7Fh). Although, I would have expected 4 continuation
> codes as Powerchip Semiconductor (C8h, corresponding to the parameter
> page data) is located in bank 5 of the JEDEC database.
>
> By matching the full 5 bytes we can avoid clashes with GigaDevice NAND
> flashes.
>
> This fix allows the MT7688-based GARDENA smart Gateway to boot again.
>
> Fixes: aa08bf187f32 ("mtd: spinand: esmt: add support for F50D2G41KA")
> 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