diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-08-28 15:31:55 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-08-30 10:51:20 +0200 |
commit | 8b9707379f5fd88e7f2d83e9eb7d958bb870ba3e (patch) | |
tree | d1d635a9a4ef9ce59c28c7c09c438e99ea8b5ac8 /target/linux/generic/patches-4.4 | |
parent | e9c517772cee8af63b4ef173a28152645a4e1b05 (diff) | |
download | mtk-20170518-8b9707379f5fd88e7f2d83e9eb7d958bb870ba3e.zip mtk-20170518-8b9707379f5fd88e7f2d83e9eb7d958bb870ba3e.tar.gz mtk-20170518-8b9707379f5fd88e7f2d83e9eb7d958bb870ba3e.tar.bz2 |
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@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.4')
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@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) }, 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@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) }, |