mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
kernel: add support for XMC XM25QH128C
The XMC XM25QH128C is a 16MB SPI NOR chip. The patch is verified on Ruijie RG-EW3200GX PRO. Datasheet available at https://www.xmcwh.com/uploads/435/XM25QH128C.pdf Signed-off-by: Langhua Ye <y1248289414@outlook.com>
This commit is contained in:
parent
fa3d7997cb
commit
5a154a16b6
@ -0,0 +1,22 @@
|
|||||||
|
From: Langhua Ye <y1248289414@outlook.com>
|
||||||
|
Subject: mtd/spi-nor/xmc: add support for XMC XM25QH128C
|
||||||
|
|
||||||
|
The XMC XM25QH128C is a 16MB SPI NOR chip. The patch is verified on Ruijie RG-EW3200GX PRO.
|
||||||
|
Datasheet available at https://www.xmcwh.com/uploads/435/XM25QH128C.pdf
|
||||||
|
|
||||||
|
Submitted-by: Langhua Ye <y1248289414@outlook.com>
|
||||||
|
---
|
||||||
|
drivers/mtd/spi-nor/xmc.c | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
--- a/drivers/mtd/spi-nor/xmc.c
|
||||||
|
+++ b/drivers/mtd/spi-nor/xmc.c
|
||||||
|
@@ -14,6 +14,8 @@ static const struct flash_info xmc_parts
|
||||||
|
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
||||||
|
{ "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256,
|
||||||
|
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
||||||
|
+ { "XM25QH128C", INFO(0x204018, 0, 64 * 1024, 256,
|
||||||
|
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
||||||
|
};
|
||||||
|
|
||||||
|
const struct spi_nor_manufacturer spi_nor_xmc = {
|
@ -0,0 +1,21 @@
|
|||||||
|
From: Langhua Ye <y1248289414@outlook.com>
|
||||||
|
Subject: mtd/spi-nor/xmc: add support for XMC XM25QH128C
|
||||||
|
|
||||||
|
The XMC XM25QH128C is a 16MB SPI NOR chip. The patch is verified on Ruijie RG-EW3200GX PRO.
|
||||||
|
Datasheet available at https://www.xmcwh.com/uploads/435/XM25QH128C.pdf
|
||||||
|
|
||||||
|
Submitted-by: Langhua Ye <y1248289414@outlook.com>
|
||||||
|
---
|
||||||
|
drivers/mtd/spi-nor/spi-nor.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
--- a/drivers/mtd/spi-nor/spi-nor.c
|
||||||
|
+++ b/drivers/mtd/spi-nor/spi-nor.c
|
||||||
|
@@ -2565,6 +2565,7 @@
|
||||||
|
/* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */
|
||||||
|
{ "XM25QH64A", INFO(0x207017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
||||||
|
{ "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
||||||
|
+ { "XM25QH128C", INFO(0x204018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
||||||
|
|
||||||
|
/* XTX Technology (Shenzhen) Limited */
|
||||||
|
{ "xt25f128b", INFO(0x0B4018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
|
Loading…
Reference in New Issue
Block a user