diff options
author | Andrew F. Davis <afd@ti.com> | 2016-11-29 16:33:26 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 13:21:23 -0500 |
commit | 1b597ada36a005f9800e2068bb745b9edccd04ba (patch) | |
tree | 386d35795e93b4b6a2a399ea510eafb9235f44e3 | |
parent | 0fcc5207ba995b589dd8bd734021fa8ac21f1909 (diff) |
board: ti: am57xx: 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: Tom Rini <trini@konsulko.com>
-rw-r--r-- | board/ti/am57xx/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index d162d34371..9dcc302d13 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -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 |