summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorCooper Jr., Franklin <fcooper@ti.com>2017-06-16 17:25:06 -0500
committerTom Rini <trini@konsulko.com>2017-07-10 14:25:50 -0400
commit92926bc80c5330d7ee71d0e56926264bce9dea3b (patch)
treeccde9f6763d2ea61dce3775ec3328730949eeed7 /include/image.h
parent3863f840fa03f6b93672a5afff74f15d460cb911 (diff)
downloadu-boot-92926bc80c5330d7ee71d0e56926264bce9dea3b.tar.gz
boot_fit: Create helper functions that can be used to select DTB out of FIT
Some platforms may append a FIT image to the U-boot image. This function aids in parsing the FIT image and selecting the correct DTB at runtime. Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 1d763b33b8..c6f1513220 100644
--- a/include/image.h
+++ b/include/image.h
@@ -1272,6 +1272,9 @@ void board_fit_image_post_process(void **p_image, size_t *p_size);
#define FDT_ERROR ((ulong)(-1))
+ulong fdt_getprop_u32(const void *fdt, int node, const char *prop);
+int fit_find_config_node(const void *fdt);
+
/**
* Mapping of image types to function handlers to be invoked on the associated
* loaded images