aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/drivers/hwspinlock/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/drivers/hwspinlock/Kconfig')
-rw-r--r--roms/u-boot/drivers/hwspinlock/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/roms/u-boot/drivers/hwspinlock/Kconfig b/roms/u-boot/drivers/hwspinlock/Kconfig
new file mode 100644
index 000000000..96d4f5d6c
--- /dev/null
+++ b/roms/u-boot/drivers/hwspinlock/Kconfig
@@ -0,0 +1,24 @@
+menu "Hardware Spinlock Support"
+
+config DM_HWSPINLOCK
+ bool "Enable U-Boot hardware spinlock support"
+ help
+ This option enables U-Boot hardware spinlock support
+
+config HWSPINLOCK_SANDBOX
+ bool "Enable Hardware Spinlock support for Sandbox"
+ depends on SANDBOX && DM_HWSPINLOCK
+ help
+ Enable hardware spinlock support in Sandbox. This is a dummy device that
+ 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