| .. | .. |
|---|
| 6 | 6 | menuconfig HWSPINLOCK |
|---|
| 7 | 7 | bool "Hardware Spinlock drivers" |
|---|
| 8 | 8 | |
|---|
| 9 | +if HWSPINLOCK |
|---|
| 10 | + |
|---|
| 9 | 11 | config HWSPINLOCK_OMAP |
|---|
| 10 | 12 | tristate "OMAP Hardware Spinlock device" |
|---|
| 11 | | - depends on HWSPINLOCK |
|---|
| 12 | | - depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX |
|---|
| 13 | + depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST |
|---|
| 13 | 14 | help |
|---|
| 14 | 15 | Say y here to support the OMAP Hardware Spinlock device (firstly |
|---|
| 15 | 16 | introduced in OMAP4). |
|---|
| .. | .. |
|---|
| 18 | 19 | |
|---|
| 19 | 20 | config HWSPINLOCK_QCOM |
|---|
| 20 | 21 | tristate "Qualcomm Hardware Spinlock device" |
|---|
| 21 | | - depends on HWSPINLOCK |
|---|
| 22 | | - depends on ARCH_QCOM |
|---|
| 22 | + depends on ARCH_QCOM || COMPILE_TEST |
|---|
| 23 | 23 | select MFD_SYSCON |
|---|
| 24 | 24 | help |
|---|
| 25 | 25 | Say y here to support the Qualcomm Hardware Mutex functionality, which |
|---|
| .. | .. |
|---|
| 30 | 30 | |
|---|
| 31 | 31 | config HWSPINLOCK_ROCKCHIP |
|---|
| 32 | 32 | tristate "Rockchip Hardware Spinlock device" |
|---|
| 33 | | - depends on ARCH_ROCKCHIP |
|---|
| 34 | | - depends on HWSPINLOCK |
|---|
| 33 | + depends on ARCH_ROCKCHIP || COMPILE_TEST |
|---|
| 35 | 34 | help |
|---|
| 36 | 35 | Say y here to support the Rockchip Hardware Spinlock device, which |
|---|
| 37 | 36 | provides a synchronisation mechanism for the various processors |
|---|
| .. | .. |
|---|
| 41 | 40 | |
|---|
| 42 | 41 | config HWSPINLOCK_SIRF |
|---|
| 43 | 42 | tristate "SIRF Hardware Spinlock device" |
|---|
| 44 | | - depends on HWSPINLOCK |
|---|
| 45 | | - depends on ARCH_SIRF |
|---|
| 43 | + depends on ARCH_SIRF || COMPILE_TEST |
|---|
| 46 | 44 | help |
|---|
| 47 | 45 | Say y here to support the SIRF Hardware Spinlock device, which |
|---|
| 48 | 46 | provides a synchronisation mechanism for the various processors |
|---|
| .. | .. |
|---|
| 53 | 51 | |
|---|
| 54 | 52 | config HWSPINLOCK_SPRD |
|---|
| 55 | 53 | tristate "SPRD Hardware Spinlock device" |
|---|
| 56 | | - depends on ARCH_SPRD |
|---|
| 57 | | - depends on HWSPINLOCK |
|---|
| 54 | + depends on ARCH_SPRD || COMPILE_TEST |
|---|
| 58 | 55 | help |
|---|
| 59 | 56 | Say y here to support the SPRD Hardware Spinlock device. |
|---|
| 60 | 57 | |
|---|
| 61 | 58 | If unsure, say N. |
|---|
| 62 | 59 | |
|---|
| 60 | +config HWSPINLOCK_STM32 |
|---|
| 61 | + tristate "STM32 Hardware Spinlock device" |
|---|
| 62 | + depends on MACH_STM32MP157 || COMPILE_TEST |
|---|
| 63 | + help |
|---|
| 64 | + Say y here to support the STM32 Hardware Spinlock device. |
|---|
| 65 | + |
|---|
| 66 | + If unsure, say N. |
|---|
| 67 | + |
|---|
| 63 | 68 | config HSEM_U8500 |
|---|
| 64 | 69 | tristate "STE Hardware Semaphore functionality" |
|---|
| 65 | | - depends on HWSPINLOCK |
|---|
| 66 | | - depends on ARCH_U8500 |
|---|
| 70 | + depends on ARCH_U8500 || COMPILE_TEST |
|---|
| 67 | 71 | help |
|---|
| 68 | 72 | Say y here to support the STE Hardware Semaphore functionality, which |
|---|
| 69 | 73 | provides a synchronisation mechanism for the various processor on the |
|---|
| 70 | 74 | SoC. |
|---|
| 71 | 75 | |
|---|
| 72 | 76 | If unsure, say N. |
|---|
| 77 | + |
|---|
| 78 | +endif # HWSPINLOCK |
|---|