diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/device.h | 1 | ||||
-rw-r--r-- | include/skiboot.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h index 1e5875d..fd66df1 100644 --- a/include/device.h +++ b/include/device.h @@ -141,6 +141,7 @@ void dt_check_del_prop(struct dt_node *node, const char *name); /* Warning: moves *prop! */ 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); /* First child of this node. */ diff --git a/include/skiboot.h b/include/skiboot.h index d1de10a..2f81a05 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -195,6 +195,11 @@ extern void start_kernel_secondary(uint64_t entry) __noreturn; /* Get description of machine from HDAT and create device-tree */ extern int parse_hdat(bool is_opal); +struct dt_node; + +/* Add /cpus/features node for boot environment that passes an fdt */ +extern void dt_add_cpufeatures(struct dt_node *root); + /* Root of device tree. */ extern struct dt_node *dt_root; |