]> git.baikalelectronics.ru Git - arm-tf.git/commit
stm32mp1: shared resources: apply registered configuration
authorEtienne Carriere <etienne.carriere@st.com>
Wed, 13 May 2020 08:07:45 +0000 (10:07 +0200)
committerEtienne Carriere <etienne.carriere@st.com>
Tue, 23 Jun 2020 07:17:45 +0000 (09:17 +0200)
commit5f038ac6836359b3422a5b70e52733c6029f61b2
tree688a1134f5f571daa240e665d5daff24f1614f49
parent722999e3b574ed90d03e12a4deea94d6f343c284
stm32mp1: shared resources: apply registered configuration

BL32/SP_MIN configures platform security hardening from the shared
resources driver.  At the end of SP_MIN initialization, all shared
resources shall be assigned to secure or non-secure world by
drivers. A lock prevent from further change on the resource
assignation. By definition, resources not registered are assign
to non-secure world since not claimed by any component on the BL.

No functional change as all resources are currently in state
SHRES_UNREGISTERED hence assigned to non-secure world as prior
this change in stm32mp1_etzpc_early_setup() and
sp_min_platform_setup().

Change-Id: Ic41fab47216c3b8b7a6a75b8358cfcec411ed941
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
plat/st/common/include/stm32mp_shared_resources.h
plat/st/stm32mp1/sp_min/sp_min_setup.c
plat/st/stm32mp1/stm32mp1_shared_resources.c