summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2021-08-06 07:44:26 +0300
committerStefano Babic <sbabic@denx.de>2021-10-07 17:53:50 +0300
commit884ba50a078f57df5bf18a1bbc8aa337f5ce404d (patch)
tree5550d37706ab4013c6c3814aa433ca6389760eb4 /include/spl.h
parent7d4541cdfbf9697c39e720690f13b9c02d3c7555 (diff)
downloadu-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.tar.xz
spl_fit. add hook to make fixes after fit header is loaded
add hook function spl_load_simple_fit_fix_load() which is called after fit image header is loaded. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index afbf39bef4..7ddb2abe0f 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -305,6 +305,14 @@ ulong spl_get_image_text_base(void);
bool spl_load_simple_fit_skip_processing(void);
/**
+ * spl_load_simple_fit_fix_load() - Hook to make fixes
+ * after fit image header is loaded
+ *
+ * Returns pointer to fit
+ */
+void *spl_load_simple_fit_fix_load(const void *fit);
+
+/**
* spl_load_simple_fit() - Loads a fit image from a device.
* @spl_image: Image description to set up
* @info: Structure containing the information required to load data.