
On Thursday 16 June 2016 12:56 AM, Andreas Dannenberg wrote:
From: Madan Srinivas madans@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@ti.com Signed-off-by: Andreas Dannenberg dannenberg@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
For dra7 platforms CONFIG_SECURE_BOOT is being used to define this function. Can this be aligned for all platforms?
Thanks and regards, Lokesh
+void board_fit_image_post_process(void **p_image, size_t *p_size) +{
- secure_boot_verify_image(p_image, p_size);
+} +#endif