stm32mp1: allow non-secure access to clocks upon periph registration
Update implementation of stm32mp_nsec_can_access_clock() based
on the registering of the shared resources.

Querying registering state locks further registration of peripherals.

Change-Id: If68f6d4a52c4742ba66244c6ea2d9afa08404137
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent 68450c9 commit 082c773131354ead8f3d98ec424f7493684f00e0
@Etienne Carriere Etienne Carriere authored on 13 May 2020
Showing 1 changed file
View
plat/st/stm32mp1/stm32mp1_shared_resources.c