[OpenWrt-Devel] [Patch 1/1] mtd add winbond w25q128jv nor flash

Schlote, Carsten Carsten.Schlote at leica-camera.com
Thu Apr 4 06:05:35 EDT 2019


This patch adds support for the w25q128jv NOR flash device to kernel 4.4 as
used in the v17 releases.

Signed-off-by: Carsten Schlote <carsten.schlote at leica-camera.com>
---

diff --git a/target/linux/generic/patches-4.4/478-mtd-add-winbond-w25q128jv-nor-flash.patch b/target/linux/generic/patches-4.4/478-mtd-add-winbond-w25q128jv-nor-flash.patch
new file mode 100644
index 0000000000..4a2d97b1cc
--- /dev/null
+++ b/target/linux/generic/patches-4.4/478-mtd-add-winbond-w25q128jv-nor-flash.patch
@@ -0,0 +1,11 @@
+--- a/drivers/mtd/spi-nor/spi-nor.c
++++ b/drivers/mtd/spi-nor/spi-nor.c
+@@ -840,6 +840,7 @@ static const struct flash_info spi_nor_i
+     { "w25q64", INFO(0xef4017, 0, 64 * 1024, 128, SECT_4K) },
+     { "w25q64dw", INFO(0xef6017, 0, 64 * 1024, 128, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+     { "w25q128fw", INFO(0xef6018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
++    { "w25q128jv", INFO(0xef7018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+     { "w25q80", INFO(0xef5014, 0, 64 * 1024,  16, SECT_4K) },
+     { "w25q80bl", INFO(0xef4014, 0, 64 * 1024,  16, SECT_4K) },
+     { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
+


Leica Camera AG | Registergericht | District Court of Wetzlar: HRB966
Vorstand | Executive Board: Matthias Harsch (Vorsitzender) | Ronald Marcel Peters | Dr. Marita Paasch
Aufsichtsratsvorsitzender | Chairman of the Supervisory Board: Dr. Andreas Kaufmann

This message may contain confidential and privileged information. If it has been sent to you in error, please notify the sender immediately by replying to the message and please delete it from your computer.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list