summaryrefslogtreecommitdiff
path: root/board/ti/dra7xx
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-11-29 22:33:25 (GMT)
committerTom Rini <trini@konsulko.com>2016-12-03 18:21:22 (GMT)
commit0fcc5207ba995b589dd8bd734021fa8ac21f1909 (patch)
treeda638e1a131f6e01eb979bffdd3a4f3f6d766cb2 /board/ti/dra7xx
parenta8ff9685206bc3dd187a604a9d8c75f47a0d3502 (diff)
downloadu-boot-0fcc5207ba995b589dd8bd734021fa8ac21f1909.tar.xz
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 <afd@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/dra7xx')
-rw-r--r--board/ti/dra7xx/evm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 0490fd5..31c52a6 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