Commit 3630094cf931422061a03352a965ad269fe37e52
Committed by
Tom Rini
1 parent
ddf013458d
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
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>
Showing 2 changed files with 10 additions and 0 deletions Side-by-side Diff
board/ti/am43xx/board.c
... | ... | @@ -859,5 +859,12 @@ |
859 | 859 | { |
860 | 860 | secure_boot_verify_image(p_image, p_size); |
861 | 861 | } |
862 | + | |
863 | +void board_tee_image_process(ulong tee_image, size_t tee_size) | |
864 | +{ | |
865 | + secure_tee_install((u32)tee_image); | |
866 | +} | |
867 | + | |
868 | +U_BOOT_FIT_LOADABLE_HANDLER(IH_TYPE_TEE, board_tee_image_process); | |
862 | 869 | #endif |
configs/am43xx_hs_evm_defconfig
... | ... | @@ -4,6 +4,9 @@ |
4 | 4 | CONFIG_SYS_MALLOC_F_LEN=0x2000 |
5 | 5 | CONFIG_AM43XX=y |
6 | 6 | CONFIG_TI_SECURE_DEVICE=y |
7 | +CONFIG_TI_SECURE_EMIF_REGION_START=0xbdb00000 | |
8 | +CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE=0x02000000 | |
9 | +CONFIG_TI_SECURE_EMIF_PROTECTED_REGION_SIZE=0x01c00000 | |
7 | 10 | CONFIG_ISW_ENTRY_ADDR=0x403018e0 |
8 | 11 | CONFIG_SPL_STACK_R_ADDR=0x82000000 |
9 | 12 | CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm" |