summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2017-08-14 22:48:33 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 16:49:32 +0200
commite59ad6ff83b444517067046bd837595a1ab84900 (patch)
tree457387d9a261a6ceddf6e6bfcaad273782b1eed5 /include/linux/mtd
parentdce84760b09f8c3d6c9e001fe5f37be93d2daa46 (diff)
downloadop-kernel-dev-e59ad6ff83b444517067046bd837595a1ab84900.zip
op-kernel-dev-e59ad6ff83b444517067046bd837595a1ab84900.tar.gz
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> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/sharpsl.h1
1 files changed, 1 insertions, 0 deletions
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 {
const struct mtd_ooblayout_ops *ecc_layout;
struct mtd_partition *partitions;
unsigned int nr_partitions;
+ const char *const *part_parsers;
};
OpenPOWER on IntegriCloud