mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
7f84fc670b
This is uclass for Hardware Spinlocks. It implements two mandatory operations: lock and unlock and one optional relax operation. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
16 lines
469 B
Text
16 lines
469 B
Text
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.
|
|
|
|
endmenu
|