aboutsummaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorPeng Fan2018-11-17 09:10:31 +0000
committerStefano Babic2019-01-01 14:12:18 +0100
commit28ded1f376cd41c1af48b1b7b69dbc74aa66e49d (patch)
treee7f63bb96e8d252741e60e4472141df8c10946ac /include/spl.h
parente246bfcfe250fda67fdf0d64f09a426e486a3acf (diff)
spl: introduce function prototypes
Introduce function prototypes for board_spl_fit_size_align and board_spl_fit_post_load Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 3f4b92ce866..c82f2fd0336 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -354,6 +354,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
*/