Skip to content
Commit 8533263c authored by Alexandru Gagniuc's avatar Alexandru Gagniuc Committed by Patrick Delaunay
Browse files

stm32mp1: spl: Configure TrustZone controller for OP-TEE



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: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
parent 8d7f5edd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment