Skip to content
Commit 4bd14b2f authored by Ezra Buehler's avatar Ezra Buehler Committed by Miquel Raynal
Browse files

mtd: spinand: esmt: Extend IDs to 5 bytes



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: aa08bf18 ("mtd: spinand: esmt: add support for F50D2G41KA")
Signed-off-by: default avatarEzra Buehler <ezra.buehler@husqvarnagroup.com>
Reviewed-by: default avatarMartin Kurbanov <mmkurbanov@salutedevices.com>
Tested-by: default avatarMartin Kurbanov <mmkurbanov@salutedevices.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240125200108.24374-3-ezra@easyb.ch
parent 34a95673
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment