aboutsummaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorSimon Glass2015-02-27 22:06:34 -0700
committerSimon Glass2015-04-23 09:05:53 -0600
commitb45122fdf5d314ef1f492b051fb104a7b48b8079 (patch)
tree172f0b1da254a3413a35607c5888b5780fb95da3 /include/fdtdec.h
parent5a87c4174d18fe40dcc847ba36853a9f15cb3e1e (diff)
fdt: sandbox: Move setup code from board_f to fdtdec
We want to be able to set up the device tree in SPL, so move this code to a common place. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index d14e06ababd..ea8a52602a5 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -793,4 +793,10 @@ int fdt_get_named_resource(const void *fdt, int node, const char *property,
int fdtdec_decode_memory_region(const void *blob, int node,
const char *mem_type, const char *suffix,
fdt_addr_t *basep, fdt_size_t *sizep);
+
+/**
+ * Set up the device tree ready for use
+ */
+int setup_fdt(void);
+
#endif