aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2021-08-06 06:44:26 +0200
committerStefano Babic <sbabic@denx.de>2021-10-07 16:53:50 +0200
commit884ba50a078f57df5bf18a1bbc8aa337f5ce404d (patch)
tree5550d37706ab4013c6c3814aa433ca6389760eb4 /include
parent7d4541cdfbf9697c39e720690f13b9c02d3c7555 (diff)
downloadu-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.zip
u-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.tar.gz
u-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.tar.bz2
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')
-rw-r--r--include/spl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index afbf39b..7ddb2ab 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.