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/476-mtd-spi-nor-add-eon-en25q128.patch
Ycarus (Yannick Chabanois) 9d83c70ced Update 6.12 kernel patches
2024-12-26 18:19:04 +01:00

22 lines
572 B
Diff

From: Piotr Dymacz <pepe2k@gmail.com>
Subject: kernel/mtd: add support for EON EN25Q128
Signed-off-by: Piotr Dymacz <pepe2k@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
@@ -18,6 +18,11 @@ static const struct flash_info eon_nor_p
.name = "en25p64",
.size = SZ_8M,
}, {
+ .id = SNOR_ID(0x1c, 0x30, 0x18),
+ .name = "en25q128",
+ .size = SZ_16M,
+ .no_sfdp_flags = SECT_4K,
+ }, {
.id = SNOR_ID(0x1c, 0x30, 0x14),
.name = "en25q80a",
.size = SZ_1M,