summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-05-16 13:53:23 +0000
committerTom Rini <trini@ti.com>2013-06-04 16:06:31 -0400
commit53f375fa819c656eec32ac779456a612836ae006 (patch)
tree83f817f2a106ae228b4775bb77bc02d466490b62 /include
parenta51ec63b85edbc6f8987069d0a60eec09d4f35c8 (diff)
downloadu-boot-imx-53f375fa819c656eec32ac779456a612836ae006.zip
u-boot-imx-53f375fa819c656eec32ac779456a612836ae006.tar.gz
u-boot-imx-53f375fa819c656eec32ac779456a612836ae006.tar.bz2
image: Use fit_image_load() to load FDT
Use the new common code to load a flat device tree. Also fix up a few casts so that this code works with sandbox. Other than that the functionality should not change. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/image.h b/include/image.h
index 28a1470..3695c62 100644
--- a/include/image.h
+++ b/include/image.h
@@ -484,8 +484,9 @@ int fit_image_load(bootm_headers_t *images, const char *prop_name, ulong addr,
int fit_get_node_from_config(bootm_headers_t *images, const char *prop_name,
ulong addr);
-int boot_get_fdt(int flag, int argc, char * const argv[],
- bootm_headers_t *images, char **of_flat_tree, ulong *of_size);
+int boot_get_fdt(int flag, int argc, char * const argv[], uint8_t arch,
+ bootm_headers_t *images,
+ char **of_flat_tree, ulong *of_size);
void boot_fdt_add_mem_rsv_regions(struct lmb *lmb, void *fdt_blob);
int boot_relocate_fdt(struct lmb *lmb, char **of_flat_tree, ulong *of_size);
@@ -777,7 +778,6 @@ int fit_check_format(const void *fit);
int fit_conf_find_compat(const void *fit, const void *fdt);
int fit_conf_get_node(const void *fit, const char *conf_uname);
int fit_conf_get_kernel_node(const void *fit, int noffset);
-int fit_conf_get_fdt_node(const void *fit, int noffset);
/**
* fit_conf_get_prop_node() - Get node refered to by a configuration