summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-05-24 20:59:54 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2016-06-03 16:25:11 +0200
commitfd7786159d47d26277f3e70600aa5dc90a6b53cd (patch)
tree34f64422ddfcc99fd1bc8dde2fa54e63f8468862 /target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch
parent23273044a8db6c8d5245169b29b0a18dd66ce8ad (diff)
downloadmtk-20170518-fd7786159d47d26277f3e70600aa5dc90a6b53cd.zip
mtk-20170518-fd7786159d47d26277f3e70600aa5dc90a6b53cd.tar.gz
mtk-20170518-fd7786159d47d26277f3e70600aa5dc90a6b53cd.tar.bz2
brcm63xx: drop linux 4.1 support
Switch to linux 4.4 now that it has been enough tested. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch')
-rw-r--r--target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch b/target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch
deleted file mode 100644
index e421e9a..0000000
--- a/target/linux/brcm63xx/patches-4.1/414-MTD-m25p80-allow-passing-pp_data.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 7f17dfe9009beb07a3de0e380932a725293829df Mon Sep 17 00:00:00 2001
-From: Jonas Gorski <jonas.gorski@gmail.com>
-Date: Tue, 1 May 2012 17:33:03 +0200
-Subject: [PATCH 64/79] MTD: m25p80: allow passing pp_data
-
----
- drivers/mtd/devices/m25p80.c | 3 +++
- include/linux/spi/flash.h | 2 ++
- 2 files changed, 5 insertions(+)
-
---- a/drivers/mtd/devices/m25p80.c
-+++ b/drivers/mtd/devices/m25p80.c
-@@ -250,6 +250,9 @@ static int m25p_probe(struct spi_device
- if (data)
- flash->max_transfer_len = data->max_transfer_len;
-
-+ if (data && data->pp_data)
-+ memcpy(&ppdata, data->pp_data, sizeof(ppdata));
-+
- ret = spi_nor_scan(nor, flash_name, mode);
- if (ret)
- return ret;
---- a/include/linux/spi/flash.h
-+++ b/include/linux/spi/flash.h
-@@ -12,6 +12,7 @@ struct mtd_part_parser_data;
- * with chips that can't be queried for JEDEC or other IDs
- * @part_probe_types: optional list of MTD parser names to use for
- * partitioning
-+ * @pp_data: optional partition parser data.
- *
- * @max_transfer_len: option maximum read/write length limitation for
- * SPI controllers not able to transfer any length commands.
-@@ -30,6 +31,7 @@ struct flash_platform_data {
- char *type;
-
- const char **part_probe_types;
-+ struct mtd_part_parser_data *pp_data;
-
- unsigned int max_transfer_len;
- /* we'll likely add more ... use JEDEC IDs, etc */