[U-Boot] [RFC 8/9] arm: am4x: add FIT image post process function

Andreas Dannenberg dannenberg at ti.com
Wed Jun 15 21:26:40 CEST 2016


From: Madan Srinivas <madans at ti.com>

Adds a board specific FIT image post processing function when u-boot is
compiled for the high-secure (HS) device variant.

Signed-off-by: Madan Srinivas <madans at ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg at ti.com>
---
 board/ti/am43xx/board.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index f005762..fc0b38b 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -862,3 +862,10 @@ int board_fit_config_name_match(const char *name)
 		return -1;
 }
 #endif
+
+#ifdef CONFIG_TI_SECURE_DEVICE
+void board_fit_image_post_process(void **p_image, size_t *p_size)
+{
+	secure_boot_verify_image(p_image, p_size);
+}
+#endif
-- 
2.6.4



More information about the U-Boot mailing list