[openwrt/openwrt] kernel: add support for XMC XM25QH128C

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 5 12:15:59 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/df1383f7964527b2e7178ae744cd167a2c230f9f

commit df1383f7964527b2e7178ae744cd167a2c230f9f
Author: Langhua Ye <y1248289414 at outlook.com>
AuthorDate: Thu Mar 3 11:27:58 2022 +0800

    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 at outlook.com>
---
 .../pending-5.10/485-mtd-spi-nor-add-xmc-xm25qh128c.patch     | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/target/linux/generic/pending-5.10/485-mtd-spi-nor-add-xmc-xm25qh128c.patch b/target/linux/generic/pending-5.10/485-mtd-spi-nor-add-xmc-xm25qh128c.patch
new file mode 100644
index 0000000000..4b3f674170
--- /dev/null
+++ b/target/linux/generic/pending-5.10/485-mtd-spi-nor-add-xmc-xm25qh128c.patch
@@ -0,0 +1,11 @@
+--- 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 = {




More information about the lede-commits mailing list