diff options
author | Heiko Schocher <hs@denx.de> | 2021-08-06 06:44:26 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-10-07 16:53:50 +0200 |
commit | 884ba50a078f57df5bf18a1bbc8aa337f5ce404d (patch) | |
tree | 5550d37706ab4013c6c3814aa433ca6389760eb4 /include/spl.h | |
parent | 7d4541cdfbf9697c39e720690f13b9c02d3c7555 (diff) | |
download | u-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.tar.gz u-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.tar.bz2 u-boot-884ba50a078f57df5bf18a1bbc8aa337f5ce404d.zip |
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.h | 8 |
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. |