Author: nbd
Date: 2015-11-22 20:05:53 +0100 (Sun, 22 Nov 2015)
New Revision: 47588

Added:
   
trunk/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
Modified:
   
trunk/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K
   
trunk/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
   
trunk/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
   
trunk/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
Log:
kernel: mtd: Backport GD25Q128B support to 3.18

Support is present in 3.19 and above as kernel commit:
fcc87a95195236b0935183361a72e4a98bf577d8

Changes to other existing patches are a result of "make target/linux/refresh".

Signed-off-by: Srdjan Rosic <[email protected]>
Signed-off-by: Srdjan Rosic <[email protected]>

Added: 
trunk/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
===================================================================
--- 
trunk/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
                          (rev 0)
+++ 
trunk/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
  2015-11-22 19:05:53 UTC (rev 47588)
@@ -0,0 +1,15 @@
+mtd: spi-nor: support for (GigaDevice) GD25Q128B
+
+Signed-off-by: Rafał Miłecki <[email protected]>
+Signed-off-by: Brian Norris <[email protected]>
+
+--- a/drivers/mtd/spi-nor/spi-nor.c
++++ b/drivers/mtd/spi-nor/spi-nor.c
+@@ -510,6 +510,7 @@ static const struct spi_device_id spi_no
+       /* GigaDevice */
+       { "gd25q32", INFO(0xc84016, 0, 64 * 1024,  64, SECT_4K) },
+       { "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) },
++      { "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256, SECT_4K) },
+ 
+       /* Intel/Numonyx -- xxxs33b */
+       { "160s33b",  INFO(0x898911, 0, 64 * 1024,  32, 0) },

Modified: 
trunk/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K
===================================================================
--- 
trunk/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K
      2015-11-22 14:56:17 UTC (rev 47587)
+++ 
trunk/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K
      2015-11-22 19:05:53 UTC (rev 47588)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -566,6 +566,7 @@ static const struct spi_device_id spi_no
+@@ -567,6 +567,7 @@ static const struct spi_device_id spi_no
        { "s25fl008k",  INFO(0xef4014,      0,  64 * 1024,  16, SECT_4K) },
        { "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K) },
        { "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },

Modified: 
trunk/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
===================================================================
--- 
trunk/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
   2015-11-22 14:56:17 UTC (rev 47587)
+++ 
trunk/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
   2015-11-22 19:05:53 UTC (rev 47588)
@@ -10,7 +10,7 @@
 
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -617,6 +617,7 @@ static const struct spi_device_id spi_no
+@@ -618,6 +618,7 @@ static const struct spi_device_id spi_no
        { "m25px80",    INFO(0x207114,  0, 64 * 1024, 16, 0) },
  
        /* Winbond -- w25x "blocks" are 64K, "sectors" are 4KiB */

Modified: 
trunk/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
===================================================================
--- 
trunk/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
      2015-11-22 14:56:17 UTC (rev 47587)
+++ 
trunk/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
      2015-11-22 19:05:53 UTC (rev 47588)
@@ -11,7 +11,7 @@
 
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -517,6 +517,7 @@ static const struct spi_device_id spi_no
+@@ -518,6 +518,7 @@ static const struct spi_device_id spi_no
        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
  
        /* Macronix */

Modified: 
trunk/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
===================================================================
--- 
trunk/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
      2015-11-22 14:56:17 UTC (rev 47587)
+++ 
trunk/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
      2015-11-22 19:05:53 UTC (rev 47588)
@@ -10,7 +10,7 @@
 
 --- a/drivers/mtd/spi-nor/spi-nor.c
 +++ b/drivers/mtd/spi-nor/spi-nor.c
-@@ -516,6 +516,9 @@ static const struct spi_device_id spi_no
+@@ -517,6 +517,9 @@ static const struct spi_device_id spi_no
        { "320s33b",  INFO(0x898912, 0, 64 * 1024,  64, 0) },
        { "640s33b",  INFO(0x898913, 0, 64 * 1024, 128, 0) },
  
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to