aboutsummaryrefslogtreecommitdiff
path: root/include/dm/ofnode.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-11-26 13:45:29 -0500
committerTom Rini <trini@konsulko.com>2018-11-26 15:52:39 -0500
commitef0b75d3d8afccebd3b9822de6bcae358d4bc0e3 (patch)
tree9a1e0c04a8a3ecd641f0e219991eaf6ce98eefed /include/dm/ofnode.h
parent6b21502229035779059493b2193fd790448fe85e (diff)
parent52923c6db7f00e0197ec894c8c1bb8a7681974bb (diff)
Merge git://git.denx.de/u-boot-riscv
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 2fc9fa39a3..92539b8b5f 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -237,6 +237,16 @@ int ofnode_read_u32_default(ofnode ref, const char *propname, u32 def);
int ofnode_read_s32_default(ofnode node, const char *propname, s32 def);
/**
+ * ofnode_read_u64() - Read a 64-bit integer from a property
+ *
+ * @node: valid node reference to read property from
+ * @propname: name of the property to read from
+ * @outp: place to put value (if found)
+ * @return 0 if OK, -ve on error
+ */
+int ofnode_read_u64(ofnode node, const char *propname, u64 *outp);
+
+/**
* ofnode_read_u64_default() - Read a 64-bit integer from a property
*
* @ref: valid node reference to read property from