xref: /openbmc/u-boot/drivers/hwspinlock/Kconfig (revision d94604d5)
17f84fc67SBenjamin Gaignardmenu "Hardware Spinlock Support"
27f84fc67SBenjamin Gaignard
37f84fc67SBenjamin Gaignardconfig DM_HWSPINLOCK
47f84fc67SBenjamin Gaignard	bool "Enable U-Boot hardware spinlock support"
57f84fc67SBenjamin Gaignard	help
67f84fc67SBenjamin Gaignard	  This option enables U-Boot hardware spinlock support
77f84fc67SBenjamin Gaignard
87f84fc67SBenjamin Gaignardconfig HWSPINLOCK_SANDBOX
97f84fc67SBenjamin Gaignard	bool "Enable Hardware Spinlock support for Sandbox"
107f84fc67SBenjamin Gaignard	depends on SANDBOX && DM_HWSPINLOCK
117f84fc67SBenjamin Gaignard	help
127f84fc67SBenjamin Gaignard	  Enable hardware spinlock support in Sandbox. This is a dummy device that
137f84fc67SBenjamin Gaignard	  can be probed and support all the methods of HWSPINLOCK, but does not
147f84fc67SBenjamin Gaignard	  really do anything.
157f84fc67SBenjamin Gaignard
16*9119f547SBenjamin Gaignardconfig HWSPINLOCK_STM32
17*9119f547SBenjamin Gaignard	bool "Enable Hardware Spinlock support for STM32"
18*9119f547SBenjamin Gaignard	depends on ARCH_STM32MP && DM_HWSPINLOCK
19*9119f547SBenjamin Gaignard	help
20*9119f547SBenjamin Gaignard	  Enable hardware spinlock support in STM32MP. Hardware spinlocks are
21*9119f547SBenjamin Gaignard	  hardware mutex which provide a synchronisation mechanism for the
22*9119f547SBenjamin Gaignard	  various processors on the SoC.
23*9119f547SBenjamin Gaignard
247f84fc67SBenjamin Gaignardendmenu
25