kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qa
authorFelix Fietkau <nbd@nbd.name>
Sun, 28 Aug 2016 13:31:55 +0000 (15:31 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 30 Aug 2016 08:51:20 +0000 (10:51 +0200)
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@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/patches-4.4/150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/465-m25p80-mx-disable-software-protection.patch
target/linux/generic/patches-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch

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 (file)
index 0000000..65f1b70
--- /dev/null
@@ -0,0 +1,21 @@
+From: "L. D. Pinney" <ldpinney@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@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) },
index 726e4d1a965f999396763456c5c350440299e3e6..070f4c6023d011994e4e8dff201be10537e1a95b 100644 (file)
@@ -4,7 +4,7 @@ Signed-off-by: Felix Fietkau <nbd@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 ||
index c2aa4188f4cbe5da392a28fdf6d2aa89d653d134..3db4a41968d994c76e45a20a4b3e10a94615cee5 100644 (file)
@@ -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) },