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

From: Miquel Raynal
Date: Mon Feb 05 2024 - 09:28:11 EST


On Thu, 2024-01-25 at 20:01:08 UTC, Ezra Buehler wrote:
> From: Ezra Buehler <ezra.buehler@xxxxxxxxxxxxxxxxxx>
>
> 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 <ezra.buehler@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Martin Kurbanov <mmkurbanov@xxxxxxxxxxxxxxxxx>
> Tested-by: Martin Kurbanov <mmkurbanov@xxxxxxxxxxxxxxxxx>

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

Miquel