• Etienne Carriere's avatar
    stm32mp1: shared resources: peripheral registering · 68450c94
    Etienne Carriere authored
    
    
    Define helper functions stm32mp_register_secure_periph() and
    stm32mp_register_non_secure_periph() for platform drivers to
    register a shared resource assigned to respectively secure
    or non-secure world.
    
    Some resources are related to clock resources. When a resource is
    registered as secure, ensure its clock dependencies are also
    registered as secure. Registering a non-secure resource does not
    mandate its clock dependencies are also registered as non-secure.
    
    Change-Id: I74975be8976b8d3bf18dcc807541a072803af6e3
    Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
    68450c94
stm32mp1_shared_resources.c 9.11 KB