summaryrefslogtreecommitdiff
path: root/include/dm/ofnode.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-04-29 21:03:38 -0400
committerTom Rini <[email protected]>2021-04-29 21:03:38 -0400
commit8ddaf943589756442bba21e5be645cd47526d82b (patch)
tree5790a6435ce416342bc9747a55d2f23a8f141c2e /include/dm/ofnode.h
parentf3a0d2c1af630cc09a34c2159aa2dfa12b831762 (diff)
parent5b700cdcff61426843405ca1df4b549237e8bbc2 (diff)
Merge tag 'dm-pull-29apr21' of https://source.denx.de/u-boot/custodians/u-boot-dm
buildman environment fix binman FMAP improvements minor test improvements and fixes minor dm improvements
Diffstat (limited to 'include/dm/ofnode.h')
-rw-r--r--include/dm/ofnode.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 2c0597c4073..8a69fd87da7 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -511,6 +511,16 @@ phys_addr_t ofnode_get_addr_index(ofnode node, int index);
phys_addr_t ofnode_get_addr(ofnode node);
/**
+ * ofnode_get_size() - get size from a node
+ *
+ * This reads the register size from a node
+ *
+ * @node: node to read from
+ * @return size of the address, or FDT_SIZE_T_NONE if not present or invalid
+ */
+fdt_size_t ofnode_get_size(ofnode node);
+
+/**
* ofnode_stringlist_search() - find a string in a string list and return index
*
* Note that it is possible for this function to succeed on property values