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>
This commit is contained in:
Heiko Schocher
2021-08-06 06:44:26 +02:00
committed by Stefano Babic
parent 7d4541cdfb
commit 884ba50a07
2 changed files with 19 additions and 0 deletions

View File

@@ -304,6 +304,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