diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-12-08 22:23:09 +1000 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-12-16 14:50:56 +1100 |
commit | a0cf95fea1f6681f866e4cb449bde56bf729819e (patch) | |
tree | 2e9f8b62c6014568ea5bdf72ecfc09e137f91d7c /include | |
parent | 35776a29f24ec4e3b8cd19cfc87dd05f9c646cdc (diff) | |
download | skiboot-a0cf95fea1f6681f866e4cb449bde56bf729819e.zip skiboot-a0cf95fea1f6681f866e4cb449bde56bf729819e.tar.gz skiboot-a0cf95fea1f6681f866e4cb449bde56bf729819e.tar.bz2 |
dt: assorted cleanups
This replaces several instances dt accesses with higher level
primitives throughout the tree.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index 25325ec..4f7a098 100644 --- a/include/device.h +++ b/include/device.h @@ -130,6 +130,7 @@ void dt_resize_property(struct dt_property **prop, size_t len); void dt_property_set_cell(struct dt_property *prop, u32 index, u32 val); u32 dt_property_get_cell(const struct dt_property *prop, u32 index); +u64 dt_property_get_u64(const struct dt_property *prop, u32 index); /* First child of this node. */ struct dt_node *dt_first(const struct dt_node *root); |