mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 09:21:35 +00:00
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From e7e3cf5010edb9a06d908e7a9e88178c0648efb0 Mon Sep 17 00:00:00 2001
|
|
From: OpenWrt community <openwrt-devel@lists.openwrt.org>
|
|
Date: Thu, 16 Mar 2023 16:24:42 +0530
|
|
Subject: [PATCH 044/281] OpenWrt: 485-mtd-spi-nor-add-xmc-xm25qh128c.patch
|
|
|
|
spi-nor/xmc.c: add 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
|
|
|
|
Change-Id: Iaa75223feff681e15b5b3a22e57c5149e4dd414a
|
|
Signed-off-by: Ram Chandra Jangir <quic_rjangir@quicinc.com>
|
|
---
|
|
drivers/mtd/spi-nor/xmc.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/drivers/mtd/spi-nor/xmc.c b/drivers/mtd/spi-nor/xmc.c
|
|
index 051411e86339..8055d38ac221 100644
|
|
--- a/drivers/mtd/spi-nor/xmc.c
|
|
+++ b/drivers/mtd/spi-nor/xmc.c
|
|
@@ -16,6 +16,9 @@ static const struct flash_info xmc_nor_parts[] = {
|
|
{ "XM25QH128A", INFO(0x207018, 0, 64 * 1024, 256)
|
|
NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
|
|
SPI_NOR_QUAD_READ) },
|
|
+ { "XM25QH128C", INFO(0x204018, 0, 64 * 1024, 256)
|
|
+ NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ |
|
|
+ SPI_NOR_QUAD_READ) },
|
|
};
|
|
|
|
const struct spi_nor_manufacturer spi_nor_xmc = {
|
|
--
|
|
2.17.1
|
|
|