diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-07-13 17:32:21 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-25 00:04:27 +0300 |
commit | 76a832254ab05502c9394cc51ded6f0abe0e0bee (patch) | |
tree | cc0b80f0f70f71563cbafd6ac12d2b068ba786e8 /lib/test_printf.c | |
parent | d2ad00eb78792b396a6d012f15d6297a1701b8bc (diff) | |
download | linux-76a832254ab05502c9394cc51ded6f0abe0e0bee.tar.xz |
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 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions