From: andrea.adami@gmail.com (Andrea Adami)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 3/9] mfd: tmio: Add partition parsers platform data
Date: Mon, 14 Aug 2017 22:48:34 +0200 [thread overview]
Message-ID: <1502743720-28672-4-git-send-email-andrea.adami@gmail.com> (raw)
In-Reply-To: <1502743720-28672-1-git-send-email-andrea.adami@gmail.com>
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>
---
include/linux/mfd/tmio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index 26e8f8c..357b6cfd 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -139,6 +139,7 @@ struct tmio_nand_data {
struct nand_bbt_descr *badblock_pattern;
struct mtd_partition *partition;
unsigned int num_partitions;
+ const char *const *part_parsers;
};
#define FBIO_TMIO_ACC_WRITE 0x7C639300
--
2.7.4
next prev parent reply other threads:[~2017-08-14 20:48 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 20:48 [PATCH v5 0/9] mtd: sharpslpart partition parser Andrea Adami
2017-08-14 20:48 ` [PATCH v5 1/9] mtd: sharpslpart: Add " Andrea Adami
2017-08-17 8:10 ` Boris Brezillon
2017-08-14 20:48 ` [PATCH v5 2/9] mtd: nand: sharpsl: Add partition parsers platform data Andrea Adami
2017-08-14 20:48 ` Andrea Adami [this message]
2017-08-15 6:58 ` [PATCH v5 3/9] mfd: tmio: " Lee Jones
2017-08-19 7:26 ` Boris Brezillon
2017-08-19 9:21 ` Boris Brezillon
2017-08-21 7:27 ` Lee Jones
2017-08-19 8:23 ` Wolfram Sang
2017-08-14 20:48 ` [PATCH v5 4/9] mtd: nand: sharpsl: Register partitions using the parsers Andrea Adami
2017-08-14 20:48 ` [PATCH v5 5/9] mtd: nand: tmio: " Andrea Adami
2017-08-19 8:22 ` Wolfram Sang
2017-08-14 20:48 ` [PATCH v5 6/9] ARM: pxa/corgi: Remove hardcoded partitioning, use sharpslpart parser Andrea Adami
2017-08-14 20:48 ` [PATCH v5 7/9] ARM: pxa/tosa: " Andrea Adami
2017-08-14 20:48 ` [PATCH v5 8/9] ARM: pxa/spitz: " Andrea Adami
2017-08-14 20:48 ` [PATCH v5 9/9] ARM: pxa/poodle: " Andrea Adami
2017-08-21 20:13 ` [PATCH v5 0/9] mtd: sharpslpart partition parser Boris Brezillon
2017-08-23 19:33 ` Robert Jarzmik
2017-08-24 9:33 ` Andrea Adami
2017-08-24 9:46 ` Boris Brezillon
2017-08-29 9:18 ` Robert Jarzmik
2017-10-08 9:53 ` Robert Jarzmik
2017-10-08 10:09 ` Boris Brezillon
2017-10-08 10:34 ` Boris Brezillon
2017-11-08 7:54 ` Boris Brezillon
2017-11-09 7:27 ` Robert Jarzmik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502743720-28672-4-git-send-email-andrea.adami@gmail.com \
--to=andrea.adami@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).