From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew F. Davis Date: Tue, 29 Nov 2016 16:33:26 -0600 Subject: [U-Boot] [PATCH v3 7/7] board: ti: am57xx: add FIT image TEE processing In-Reply-To: <20161129223326.3115-1-afd@ti.com> References: <20161129223326.3115-1-afd@ti.com> Message-ID: <20161129223326.3115-8-afd@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Populate the corresponding TEE image processing call to be performed during FIT loadable processing. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- board/ti/am57xx/board.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index f3e3f0b..1895a30 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -739,4 +739,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 -- 2.10.2