1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.12/target/linux/generic/pending-6.12/477-mtd-spi-nor-add-eon-en25qx128a.patch
Ycarus (Yannick Chabanois) 9d83c70ced Update 6.12 kernel patches
2024-12-26 18:19:04 +01:00

24 lines
652 B
Diff

From: Christian Marangi <ansuelsmth@gmail.com>
Subject: kernel/mtd: add support for EON EN25QX128A
Add support for EON EN25QX128A with no flags as it does
support SFDP parsing.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
drivers/mtd/spi-nor/spi-nor.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/mtd/spi-nor/eon.c
+++ b/drivers/mtd/spi-nor/eon.c
@@ -23,6 +23,10 @@ static const struct flash_info eon_nor_p
.size = SZ_16M,
.no_sfdp_flags = SECT_4K,
}, {
+ .id = SNOR_ID(0x1c, 0x71, 0x18),
+ .name = "en25qx128a",
+ .size = SZ_16M,
+ }, {
.id = SNOR_ID(0x1c, 0x30, 0x14),
.name = "en25q80a",
.size = SZ_1M,