aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2018-08-13 10:11:40 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-08-21 11:18:12 +1200
commit3ee3cbfbc09953021cd41ddf8434227ff0633ec7 (patch)
tree3d838ad00466d4928cc19a700b2ec289a78bc4f0 /recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch
parent4ef8f82e5db28f50901ce87f7ce786675aee6adf (diff)
downloadmeta-handheld-3ee3cbfbc09953021cd41ddf8434227ff0633ec7.tar.gz
linux-handheld(-kexecboot)_4.4: upgrade to 4.4.147
Get latest fixes for gcc8 builds: 4.4.145 0ca85fc310e8c ARM: fix put_user() for gcc-8 and more warning fixes. Remove patches upstreamed in 4.4.146 While there, backport the upstreamed (4.16) version of sharpslpart for 4.4. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch b/recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch
new file mode 100644
index 0000000..8bd46b0
--- /dev/null
+++ b/recipes-kernel/linux/linux-handheld-4.4/sharpslpart/0002-mtd-nand-sharpsl-Add-partition-parsers-platform-data.patch
@@ -0,0 +1,31 @@
+From acf7218ab5733bd74fe34ba65884831acc6efe8b Mon Sep 17 00:00:00 2001
+From: Andrea Adami <andrea.adami@gmail.com>
+Date: Mon, 14 Aug 2017 16:20:16 +0200
+Subject: [PATCH v5 2/9] mtd: nand: sharpsl: Add partition parsers platform data
+
+With the introduction of sharpslpart partition parser we can now read the
+offsets from NAND: we specify the list of the parsers as platform data, with
+cmdlinepart and ofpart parsers first allowing to override the part. table
+written in NAND. This is done in the board files using this driver.
+
+Thus, we need to extend sharpsl_nand_platform_data to consider the partition
+parsers.
+
+Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
+---
+ include/linux/mtd/sharpsl.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h
+index 65e91d0..6381a7d 100644
+--- a/include/linux/mtd/sharpsl.h
++++ b/include/linux/mtd/sharpsl.h
+@@ -17,4 +17,5 @@ struct sharpsl_nand_platform_data {
+ struct nand_ecclayout *ecc_layout;
+ struct mtd_partition *partitions;
+ unsigned int nr_partitions;
++ const char *const *part_parsers;
+ };
+--
+2.7.4
+