From: Andrew F. Davis Date: Tue, 29 Nov 2016 22:33:25 +0000 (-0600) Subject: board: ti: dra7xx: add FIT image TEE processing X-Git-Tag: v2017.01-rc1~75 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0fcc5207ba995b589dd8bd734021fa8ac21f1909;p=u-boot board: ti: dra7xx: add FIT image TEE processing Populate the corresponding TEE image processing call to be performed during FIT loadable processing. Signed-off-by: Andrew F. Davis Reviewed-by: Simon Glass Reviewed-by: Tom Rini --- diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 0490fd5452..31c52a6afb 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -855,4 +855,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