[PATCH 0/2] mtd: spinand: Resolve GigaDevice/ESMT ID clash

From: Ezra Buehler
Date: Thu Jan 25 2024 - 15:02:18 EST


From: Ezra Buehler <ezra.buehler@xxxxxxxxxxxxxxxxxx>

Since commit aa08bf187f32 ("mtd: spinand: esmt: add support for
F50D2G41KA") the MT7688-based GARDENA smart Gateway no longer boots.
This is due to an ID clash resulting in the ESMT driver being used
together with our GigaDevice GD5F1GQ5UEYIG.

The following patches resolve the issue for our board. However, I do not
have any ESMT NAND flash chips to further test my changes with.

Ezra Buehler (2):
mtd: spinand: Add support for 5-byte IDs
mtd: spinand: esmt: Extend IDs to 5 bytes

drivers/mtd/nand/spi/esmt.c | 9 ++++++---
include/linux/mtd/spinand.h | 2 +-
2 files changed, 7 insertions(+), 4 deletions(-)

--
2.43.0