[PATCH v5 4/5] stm32mp1: spl: Configure TrustZone controller for OP-TEE

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Jul 27 11:14:46 CEST 2021


hI,

On 7/15/21 9:19 PM, Alexandru Gagniuc wrote:
> OP-TEE is very particular about how the TZC should be configured.
> When booting an OP-TEE payload, an incorrect TZC configuration will
> result in a panic.
>
> Most information can be derived from the SPL devicetree. The only
> information we don't have is the split between TZDRAM and shared
> memory. This has to be hardcoded. The rest of the configuration is
> fairly easy, and only requires 3 TZC regions. Configure them.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> ---
>   arch/arm/mach-stm32mp/spl.c | 92 +++++++++++++++++++++++++++++++++++++
>   1 file changed, 92 insertions(+)
>

Applied to u-boot-stm/master, thanks!

Regards
Patrick




More information about the U-Boot mailing list