Message ID | 20181117091828.23787-2-peng.fan@nxp.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Stefano Babic |
Headers | show |
Series | [U-Boot,V2,1/2] SPL: Add HAB image authentication to FIT | expand |
On Sat, 17 Nov 2018 at 02:10, Peng Fan <peng.fan@nxp.com> wrote: > > Introduce function prototypes for board_spl_fit_size_align and > board_spl_fit_post_load > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > > V2: > New file per Simon's comments > > include/spl.h | 12 ++++++++++++ > 1 file changed, 12 insertions(+) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/include/spl.h b/include/spl.h index 5dd25ab611..d6f7f11ddb 100644 --- a/include/spl.h +++ b/include/spl.h @@ -312,6 +312,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
Introduce function prototypes for board_spl_fit_size_align and board_spl_fit_post_load Signed-off-by: Peng Fan <peng.fan@nxp.com> --- V2: New file per Simon's comments include/spl.h | 12 ++++++++++++ 1 file changed, 12 insertions(+)