summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock/Kconfig
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2018-11-27 13:49:52 +0100
committerTom Rini <trini@konsulko.com>2018-12-06 23:26:33 -0500
commit9119f547d3e9b9f488055b90572a8ff83125b3e2 (patch)
tree65a6d134a30f87de51a0c161a62713190bc36179 /drivers/hwspinlock/Kconfig
parent283bcd9a341dcc344113daad82d8e5ab978ed260 (diff)
downloadu-boot-9119f547d3e9b9f488055b90572a8ff83125b3e2.tar.gz
u-boot-9119f547d3e9b9f488055b90572a8ff83125b3e2.tar.bz2
u-boot-9119f547d3e9b9f488055b90572a8ff83125b3e2.zip
hwspinlock: add stm32 hardware spinlock support
Implement hardware spinlock support for STM32MP1. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/hwspinlock/Kconfig')
-rw-r--r--drivers/hwspinlock/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig
index de367fd2a9..96d4f5d6ca 100644
--- a/drivers/hwspinlock/Kconfig
+++ b/drivers/hwspinlock/Kconfig
@@ -13,4 +13,12 @@ config HWSPINLOCK_SANDBOX
can be probed and support all the methods of HWSPINLOCK, but does not
really do anything.
+config HWSPINLOCK_STM32
+ bool "Enable Hardware Spinlock support for STM32"
+ depends on ARCH_STM32MP && DM_HWSPINLOCK
+ help
+ Enable hardware spinlock support in STM32MP. Hardware spinlocks are
+ hardware mutex which provide a synchronisation mechanism for the
+ various processors on the SoC.
+
endmenu