summaryrefslogtreecommitdiffstats
path: root/include/of.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-30 16:11:07 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-31 09:26:02 +0100
commitabd0cea544372324656bf35b30b4cc6cd3b80317 (patch)
tree090c8cd1bfa4d3b0628dc6746153a82242bf9547 /include/of.h
parentfb721e3fd2380d7d0835ad6479ee3a23b528569d (diff)
downloadbarebox-abd0cea544372324656bf35b30b4cc6cd3b80317.tar.gz
barebox-abd0cea544372324656bf35b30b4cc6cd3b80317.tar.xz
of: fdt: add of_unflatten_dtb_const
This adds a variant of of_unflatten_dtb() which uses the property data directly from the input tree rather than copying it. This is mainly useful for a single user: FIT images. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r--include/of.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h
index d3b92328a5..421e038adb 100644
--- a/include/of.h
+++ b/include/of.h
@@ -101,6 +101,7 @@ void of_print_nodes(struct device_node *node, int indent);
int of_probe(void);
int of_parse_dtb(struct fdt_header *fdt);
struct device_node *of_unflatten_dtb(const void *fdt);
+struct device_node *of_unflatten_dtb_const(const void *infdt);
struct cdev;