hwspinlock: add stm32 hardware spinlock support
[oweals/u-boot.git] / drivers / hwspinlock / Kconfig
1 menu "Hardware Spinlock Support"
2
3 config DM_HWSPINLOCK
4         bool "Enable U-Boot hardware spinlock support"
5         help
6           This option enables U-Boot hardware spinlock support
7
8 config HWSPINLOCK_SANDBOX
9         bool "Enable Hardware Spinlock support for Sandbox"
10         depends on SANDBOX && DM_HWSPINLOCK
11         help
12           Enable hardware spinlock support in Sandbox. This is a dummy device that
13           can be probed and support all the methods of HWSPINLOCK, but does not
14           really do anything.
15
16 config HWSPINLOCK_STM32
17         bool "Enable Hardware Spinlock support for STM32"
18         depends on ARCH_STM32MP && DM_HWSPINLOCK
19         help
20           Enable hardware spinlock support in STM32MP. Hardware spinlocks are
21           hardware mutex which provide a synchronisation mechanism for the
22           various processors on the SoC.
23
24 endmenu