summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 781e5a2d638..488adbeb1bc 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -292,6 +292,9 @@ struct spl_image_info {
#endif
};
+/* function to jump to an image from SPL */
+typedef void __noreturn (*spl_jump_to_image_t)(struct spl_image_info *);
+
static inline void *spl_image_fdt_addr(struct spl_image_info *info)
{
#if CONFIG_IS_ENABLED(LOAD_FIT) || CONFIG_IS_ENABLED(LOAD_FIT_FULL)