diff options
author | Simon Glass <sjg@chromium.org> | 2015-02-27 22:06:34 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-23 09:05:53 -0600 |
commit | b45122fdf5d314ef1f492b051fb104a7b48b8079 (patch) | |
tree | 172f0b1da254a3413a35607c5888b5780fb95da3 /include/fdtdec.h | |
parent | 5a87c4174d18fe40dcc847ba36853a9f15cb3e1e (diff) | |
download | u-boot-imx-b45122fdf5d314ef1f492b051fb104a7b48b8079.zip u-boot-imx-b45122fdf5d314ef1f492b051fb104a7b48b8079.tar.gz u-boot-imx-b45122fdf5d314ef1f492b051fb104a7b48b8079.tar.bz2 |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h index d14e06a..ea8a526 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 |