From 3a0266b4716aa12fe1756d7e52a0e5bec760d48d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Nov 2015 19:05:53 +0000 Subject: 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 Signed-off-by: Srdjan Rosic SVN-Revision: 47588 --- .../043-mtd_GD25Q128B_support_backport_from_3.19.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch (limited to '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 0000000000..b7bae34aa7 --- /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) }, -- cgit v1.2.3