blob: 96d4f5d6ca33841894c5868c1e43625a80e078f9 [file] [log] [blame]
Benjamin Gaignard7f84fc62018-11-27 13:49:50 +01001menu "Hardware Spinlock Support"
2
3config DM_HWSPINLOCK
4 bool "Enable U-Boot hardware spinlock support"
5 help
6 This option enables U-Boot hardware spinlock support
7
8config 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
Benjamin Gaignard9119f542018-11-27 13:49:52 +010016config 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
Benjamin Gaignard7f84fc62018-11-27 13:49:50 +010024endmenu