mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-26 00:21:37 +00:00
spl: fit: Drop 'length' argument to board_spl_fit_post_load()
The size is derived from the FIT image itself. Any alignment requirements are machine-specific and known by the board code. Thus the total length can be derived from the FIT image and knowledge of the platform. The 'length' argument is redundant. Remove it. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> CC: Matt Porter <mporter@konsulko.com>
This commit is contained in:
parent
496f49464d
commit
efc4ad0bc7
3 changed files with 8 additions and 7 deletions
|
@ -701,9 +701,9 @@ int board_return_to_bootrom(struct spl_image_info *spl_image,
|
|||
|
||||
/**
|
||||
* board_spl_fit_post_load - allow process images after loading finished
|
||||
*
|
||||
* @fit: Pointer to a valid Flattened Image Tree blob
|
||||
*/
|
||||
void board_spl_fit_post_load(ulong load_addr, size_t length);
|
||||
void board_spl_fit_post_load(const void *fit);
|
||||
|
||||
/**
|
||||
* board_spl_fit_size_align - specific size align before processing payload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue