diff options
author | Yann Gautier <yann.gautier@st.com> | 2019-05-22 19:13:51 +0200 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2019-09-02 17:51:57 +0200 |
commit | e463d3f43e0115fbafd7a17f7ba550fc8e9a2ae0 (patch) | |
tree | a0336d26163c963895f97d81ce01a4b5e54837ab /lib/psci/psci_stat.c | |
parent | 6cb45f8984af596fc5460204e9be1d85de79cf5e (diff) |
stm32mp1: use a common function to check spinlock is available
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: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'lib/psci/psci_stat.c')
0 files changed, 0 insertions, 0 deletions