]> git.sur5r.net Git - u-boot/commitdiff
board: ti: am57xx: add FIT image TEE processing
authorAndrew F. Davis <afd@ti.com>
Tue, 29 Nov 2016 22:33:26 +0000 (16:33 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:23 +0000 (13:21 -0500)
Populate the corresponding TEE image processing call to be
performed during FIT loadable processing.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/am57xx/board.c

index d162d343714b5323a0b112fc5eb158d9aff642b9..9dcc302d13bf96b176c5d85ece1c580e603a4b49 100644 (file)
@@ -747,4 +747,11 @@ void board_fit_image_post_process(void **p_image, size_t *p_size)
 {
        secure_boot_verify_image(p_image, p_size);
 }
+
+void board_tee_image_process(ulong tee_image, size_t tee_size)
+{
+       secure_tee_install((u32)tee_image);
+}
+
+U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_TEE, board_tee_image_process);
 #endif