From patchwork Tue Nov 17 22:46:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Srdjan Rosic X-Patchwork-Id: 545798 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6B316140D97 for ; Wed, 18 Nov 2015 09:49:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ZmtJhq9r; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 91C9728C02B; Tue, 17 Nov 2015 23:47:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1AFC5281573 for ; Tue, 17 Nov 2015 23:46:57 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 17 Nov 2015 23:46:56 +0100 (CET) Received: by wmww144 with SMTP id w144so174455350wmw.1 for ; Tue, 17 Nov 2015 14:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=fMtku6B6h+DpLB7eSpIrEkSU/Xovc/JmAsW2x//c2rc=; b=ZmtJhq9r5CC3DT2r8nOXxJbjIf3OuHUVde4ggI/6/X31DSCh8K011p1mm6eOtnq+pS SYAUEhRpP1FnwiFhr3aC5ljA3hmBYsXsB/MW8R+7iewNMzs39WRWs5gP9x5DwhY+4pQJ EMHaBTG1tHBFsVqTJCGz+hbbb4Gi7FGM0PMrQA+AFg4Tr7CGtxi62Wohk/ZqhXxlVKDf YCsZ9bAB/yaWA4qrhgSfqNsN9ONd3FgnLEqo+XelIU4TUXewJ9fcLpEVQ7ozwTCs3Gmv i0jt4fhanp67zvjG1a2sra/t6k4h8L/zAUONpT2TV3NnxSZZCnnRcVx7TR+mA6XIJyZO lu1w== X-Received: by 10.194.82.99 with SMTP id h3mr42653496wjy.41.1447800535256; Tue, 17 Nov 2015 14:48:55 -0800 (PST) Received: from rajivari.c.endless-splice-729.internal (168.0.155.104.bc.googleusercontent.com. [104.155.0.168]) by smtp.gmail.com with ESMTPSA id kj3sm24830416wjb.19.2015.11.17.14.48.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Nov 2015 14:48:54 -0800 (PST) From: Srdjan Rosic To: openwrt-devel@lists.openwrt.org Date: Tue, 17 Nov 2015 22:46:47 +0000 Message-Id: <1447800407-26462-1-git-send-email-srdjan.rosic@gmail.com> X-Mailer: git-send-email 2.6.1 MIME-Version: 1.0 Cc: Srdjan Rosic Subject: [OpenWrt-Devel] [PATCH] kernel: mtd: Backport GD25Q128B support to 3.18 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 Signed-off-by: Srdjan Rosic --- .../043-mtd_GD25Q128B_support_backport_from_3.19.patch | 15 +++++++++++++++ .../091-mtd-spi-nor-add-support-Spansion_S25FL164K | 2 +- ...-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch | 2 +- ...spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch | 2 +- ...spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch | 2 +- 5 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch diff --git a/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch b/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch new file mode 100644 index 0000000..b7bae34 --- /dev/null +++ b/target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch @@ -0,0 +1,15 @@ +mtd: spi-nor: support for (GigaDevice) GD25Q128B + +Signed-off-by: Rafał Miłecki +Signed-off-by: Brian Norris + +--- 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) }, diff --git a/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K b/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K index d9831f4..24aa075 100644 --- a/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K +++ b/target/linux/generic/patches-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K @@ -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) }, diff --git a/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch b/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch index dca6895..f059aa7 100644 --- a/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch +++ b/target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch @@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos --- 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 */ diff --git a/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch b/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch index 8082fa6..9ba7a4a 100644 --- a/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch +++ b/target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch @@ -11,7 +11,7 @@ Signed-off-by: Gabor Juhos --- 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 */ diff --git a/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch b/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch index f572237..b06ac73 100644 --- a/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch +++ b/target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch @@ -10,7 +10,7 @@ Signed-off-by: Gabor Juhos --- 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) },