aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2017-08-14 16:48:34 -0400
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-08-23 10:49:33 -0400
commit827dba9d626325a65727c4074913b2d3c7e7ea4d (patch)
tree75e2c91e71268198046793cae9c8efd3cdb13034 /include/linux/mfd
parent482ead931e05b4d5556a5ffd51c2f40cd586f20c (diff)
mfd: tmio: 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 tmio_nand_data to consider the partition parsers. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tmio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index 26e8f8c0a6db..357b6cfdf34a 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -139,6 +139,7 @@ struct tmio_nand_data {
139 struct nand_bbt_descr *badblock_pattern; 139 struct nand_bbt_descr *badblock_pattern;
140 struct mtd_partition *partition; 140 struct mtd_partition *partition;
141 unsigned int num_partitions; 141 unsigned int num_partitions;
142 const char *const *part_parsers;
142}; 143};
143 144
144#define FBIO_TMIO_ACC_WRITE 0x7C639300 145#define FBIO_TMIO_ACC_WRITE 0x7C639300