diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-18 15:36:05 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-18 15:36:05 +0100 |
commit | a11bd0015cdb3929aed681fd113c7e20edb39e34 (patch) | |
tree | ef247915f6c8738a29bd35826b8dd0303a1809a4 | |
parent | 2f46c8f9e562a88c9dbbb1d93c21d6f08c106816 (diff) | |
download | dt-utils-a11bd0015cdb3929aed681fd113c7e20edb39e34.tar.gz dt-utils-a11bd0015cdb3929aed681fd113c7e20edb39e34.tar.xz |
document of_parse_partition_from_path
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | src/libdt.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libdt.c b/src/libdt.c index 2835fb1..d367e96 100644 --- a/src/libdt.c +++ b/src/libdt.c @@ -1983,6 +1983,16 @@ out: return dev; } +/* + * of_parse_partition_from_path - parse devicenode for partition 'name' + * @op the context to work on + * @name the partition name to look for + * + * search devicetree node for a partition subnode with label 'name'. + * When found, fill in op->offset and op->size accordingly. This is for + * resembling the OF partition parser for devices which do not parse + * OF partitions in the kernel. + */ int of_parse_partition_from_path(struct of_path *op, const char *name) { struct device_node *node; |