aboutsummaryrefslogtreecommitdiff
path: root/board/ti/am43xx
diff options
context:
space:
mode:
authorAndrew F. Davis2017-07-10 14:45:53 -0500
committerTom Rini2017-07-22 22:22:45 -0400
commit3630094cf931422061a03352a965ad269fe37e52 (patch)
treed6dd39809f662819772914e3c89151fa43a47af2 /board/ti/am43xx
parentddf013458dd2fa2f269fc03336d617a5c87987b9 (diff)
board: ti: am43xx: Add TEE loading and firewall setup
Add support for loading a TEE and setting up firewalled regions to AM43xx HS boards. Signed-off-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'board/ti/am43xx')
-rw-r--r--board/ti/am43xx/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c
index 54f40e64a45..96032215a65 100644
--- a/board/ti/am43xx/board.c
+++ b/board/ti/am43xx/board.c
@@ -859,4 +859,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