• Yann Gautier's avatar
    refactor(plat/st): map DDR secure at boot · c1ad41fb
    Yann Gautier authored
    
    
    In BL2, the DDR can be mapped as secured in MMU, as no other SW
    has access to it during its execution.
    The TZC400 configuration is also updated to reflect this. When using
    OP-TEE, the TZC400 is reconfigured at the end of BL2, to match OP-TEE
    mapping. Else, SP_min will be in charge to reconfigure TZC400 to set
    DDR non-secure.
    
    Change-Id: Ic5ec614b218f733796feeab1cdc425d28cc7c103
    Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
    c1ad41fb
stm32mp1_security.c 4.44 KB