stm32mp1: use a common function to check spinlock is available
Yann Gautier authored
To use spinlocks, MMU should be enabled, as well as data cache.
A common function is created (moved from clock file).
It is then used whenever a spinlock has to be taken, in BSEC and clock
drivers.

Change-Id: I94baed0114a2061ad71bd5287a91bf7f1c6821f6
Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
e463d3f4
Name Last commit Last update
..
stm32mp1_clk.c
stm32mp_clkfunc.c