commit | f540a599bcc84b6863351d6e8a7030aa1eb281b1 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Wed May 22 19:13:51 2019 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Sep 02 17:51:57 2019 +0200 |
tree | a0336d26163c963895f97d81ce01a4b5e54837ab | |
parent | c7f9e96acbe8a354dede2b3728dc662fe9c310f8 [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>