[source] kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qa
LEDE Commits
lede-commits at lists.infradead.org
Tue Aug 30 01:51:36 PDT 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/8b9707379f5fd88e7f2d83e9eb7d958bb870ba3e
commit 8b9707379f5fd88e7f2d83e9eb7d958bb870ba3e
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sun Aug 28 15:31:55 2016 +0200
kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qa
Add Support for the ESMT_F25L32QA and ESMT_F25L64QA.
These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology
Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
...r-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch | 21 +++++++++++++++++++++
.../465-m25p80-mx-disable-software-protection.patch | 2 +-
.../475-mtd-spi-nor-add-macronix-mx25u25635f.patch | 2 +-
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/patches-4.4/150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch b/target/linux/generic/patches-4.4/150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch
new file mode 100644
index 0000000..65f1b70
--- /dev/null
+++ b/target/linux/generic/patches-4.4/150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch
@@ -0,0 +1,21 @@
+From: "L. D. Pinney" <ldpinney at gmail.com>
+Date: Thu, 25 Aug 2016 13:07:56 -0500
+Subject: [PATCH] mtd: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qa
+
+Add Support for the ESMT_F25L32QA and ESMT_F25L64QA
+These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology
+
+Signed-off-by: L. D. Pinney <ldpinney at gmail.com>
+---
+
+--- a/drivers/mtd/spi-nor/spi-nor.c
++++ b/drivers/mtd/spi-nor/spi-nor.c
+@@ -688,6 +688,8 @@ static const struct flash_info spi_nor_i
+
+ /* ESMT */
+ { "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) },
++ { "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64, SECT_4K) },
++ { "f25l64qa", INFO(0x8c4117, 0, 64 * 1024, 128, SECT_4K) },
+
+ /* Everspin */
+ { "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
diff --git a/target/linux/generic/patches-4.4/465-m25p80-mx-disable-software-protection.patch b/target/linux/generic/patches-4.4/465-m25p80-mx-disable-software-protection.patch
index 726e4d1..070f4c6 100644
--- a/target/linux/generic/patches-4.4/465-m25p80-mx-disable-software-protection.patch
+++ b/target/linux/generic/patches-4.4/465-m25p80-mx-disable-software-protection.patch
@@ -4,7 +4,7 @@ Signed-off-by: Felix Fietkau <nbd at nbd.name>
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -1156,6 +1156,7 @@ int spi_nor_scan(struct spi_nor *nor, co
+@@ -1158,6 +1158,7 @@ int spi_nor_scan(struct spi_nor *nor, co
if (JEDEC_MFR(info) == SNOR_MFR_ATMEL ||
JEDEC_MFR(info) == SNOR_MFR_INTEL ||
diff --git a/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch b/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
index c2aa418..3db4a41 100644
--- a/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
+++ b/target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch
@@ -1,6 +1,6 @@
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -722,6 +722,7 @@ static const struct flash_info spi_nor_i
+@@ -724,6 +724,7 @@ static const struct flash_info spi_nor_i
{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
{ "mx25l25635e", INFO(0xc22019, 0, 64 * 1024, 512, 0) },
More information about the lede-commits
mailing list