summaryrefslogtreecommitdiff
path: root/src/include/device_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device_tree.h')
-rw-r--r--src/include/device_tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/device_tree.h b/src/include/device_tree.h
index 107fcf6a48..54aecb98b8 100644
--- a/src/include/device_tree.h
+++ b/src/include/device_tree.h
@@ -147,6 +147,8 @@ struct device_tree_node *dt_find_next_compat_child(struct device_tree_node *pare
// Look up a node relative to a parent node, through its property value.
struct device_tree_node *dt_find_prop_value(struct device_tree_node *parent, const char *name,
void *data, size_t size);
+// Return the phandle
+uint32_t dt_get_phandle(struct device_tree_node *node);
// Write src into *dest as a 'length'-byte big-endian integer.
void dt_write_int(u8 *dest, u64 src, size_t length);
// Add different kinds of properties to a node, or update existing ones.