From: Peng Fan Date: Sat, 17 Nov 2018 09:10:31 +0000 (+0000) Subject: spl: introduce function prototypes X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=28ded1f376cd41c1af48b1b7b69dbc74aa66e49d;p=u-boot.git spl: introduce function prototypes Introduce function prototypes for board_spl_fit_size_align and board_spl_fit_post_load Signed-off-by: Peng Fan --- diff --git a/include/spl.h b/include/spl.h index 3f4b92ce86..c82f2fd033 100644 --- a/include/spl.h +++ b/include/spl.h @@ -353,6 +353,18 @@ void spl_optee_entry(void *arg0, void *arg1, void *arg2, void *arg3); */ void board_return_to_bootrom(void); +/** + * board_spl_fit_post_load - allow process images after loading finished + * + */ +void board_spl_fit_post_load(ulong load_addr, size_t length); + +/** + * board_spl_fit_size_align - specific size align before processing payload + * + */ +ulong board_spl_fit_size_align(ulong size); + /** * spl_perform_fixups() - arch/board-specific callback before processing * the boot-payload