[U-Boot] [PATCH V2 2/2] spl: introduce function prototypes

Peng Fan peng.fan at nxp.com
Sat Nov 17 09:10:31 UTC 2018


Introduce function prototypes for board_spl_fit_size_align and
board_spl_fit_post_load

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---

V2:
 New file per Simon's comments

 include/spl.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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
-- 
2.14.1



More information about the U-Boot mailing list