summaryrefslogtreecommitdiff
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-07-13 16:32:21 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-07-24 23:04:27 +0200
commit76a832254ab05502c9394cc51ded6f0abe0e0bee (patch)
treecc0b80f0f70f71563cbafd6ac12d2b068ba786e8 /drivers/mtd/chips
parentd2ad00eb78792b396a6d012f15d6297a1701b8bc (diff)
mtd: partitions: use DT info for parsing partitions with "compatible" prop
So far only flash devices could be described in DT regarding partitions parsing. That could be done with "partitions" subnode and a proper "compatible" string. Some devices may use hierarchical (multi-level) layouts and may mix used layouts (fixed and dynamic). Describing that in DT is done by specifying "compatible" for DT-represented partition plus optionally more properties and/or subnodes. To support such layouts each DT partition has to be checked for additional description. Please note this implementation will work in parallel with support for partition type specified for non-DT setups. That already works since commit 1a0915be1926 ("mtd: partitions: add support for partition parsers"). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd/chips')
0 files changed, 0 insertions, 0 deletions