linux-stable/drivers/mtd/nand/spi
Ezra Buehler 0a96e0da9f mtd: spinand: esmt: Extend IDs to 5 bytes
[ Upstream commit 4bd14b2fd8 ]

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: aa08bf187f ("mtd: spinand: esmt: add support for F50D2G41KA")
Signed-off-by: Ezra Buehler <ezra.buehler@husqvarnagroup.com>
Reviewed-by: Martin Kurbanov <mmkurbanov@salutedevices.com>
Tested-by: Martin Kurbanov <mmkurbanov@salutedevices.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240125200108.24374-3-ezra@easyb.ch
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:19:45 -04:00
..
alliancememory.c
ato.c
core.c
esmt.c mtd: spinand: esmt: Extend IDs to 5 bytes 2024-03-26 18:19:45 -04:00
gigadevice.c mtd: spinand: gigadevice: Fix the get ecc status issue 2024-03-06 14:48:34 +00:00
Kconfig
macronix.c
Makefile
micron.c mtd: spinand: micron: correct bitmask for ecc status 2023-09-11 17:48:24 +02:00
paragon.c
toshiba.c Core MTD changes: 2023-09-03 09:59:53 -07:00
winbond.c
xtx.c